Giter Site home page Giter Site logo

samuelmeuli / mini-diary Goto Github PK

View Code? Open in Web Editor NEW
1.0K 24.0 234.0 8.75 MB

๐Ÿ“˜ Simple and secure journal app

Home Page: https://minidiary.app

License: MIT License

JavaScript 1.02% CSS 1.63% HTML 3.96% TypeScript 88.25% SCSS 5.14%
journal diary electron-app diary-application mac-app windows-app linux-app

mini-diary's Introduction

Mini Diary

Simple and secure journal app Screenshot

Mini Diary is no longer maintained. Please use a different journal app instead.

Website

Features and FAQs can be found on the website: minidiary.app

Development

The application is built with Electron and React. To run or build the app yourself, you'll need to have Node.js and Yarn installed.

Running the app

  1. Clone this repository: git clone REPO_URL
  2. Navigate into the project directory: cd mini-diary
  3. Install the dependencies: yarn
  4. Run the app: yarn start

Building the app

After cloning the repo and installing the dependencies, run yarn build. The packaged app can be found in the dist folder.

Contributing

Features and Bugs

Suggestions and contributions are always welcome! Please first discuss changes via issue before submitting a pull request.

Adding missing translations

The list of all English strings can be found in en.ts. If there are translations missing for your language and you'd like to help with the translation, you can add the translated strings to your language's file in src/main/i18n/translations and submit a PR.

Adding a new language

If the app isn't translated into your language yet and you'd like to help out, you can easily add translations with the following steps:

  1. The translation files can be found in src/main/i18n/translations. Duplicate the en.ts file as [LANG].ts, where [LANG] is the shortcode of your language.
  2. In the file you just created, replace the English translations with your own.
  3. Import your file in the ALL_TRANSLATIONS object in src/main/i18n/i18n.ts.
  4. Add your language shortcode to the electronLanguages array in package.json.
  5. Run the app in your language (see the steps above) and make sure that the translations fit into the app (e.g. that they aren't too long for input fields).
  6. Submit a PR. Thanks for your help!

mini-diary's People

Contributors

bjarkithordarson avatar cedarctic avatar cosimog avatar dependabot[bot] avatar druc avatar hamit-ozdemir avatar jhernandis avatar ldbl1 avatar lincolncosta avatar loyihsu avatar owen-krueger avatar razaqultegar avatar samuelmeuli avatar spidersouris avatar tarasyyyk avatar twildh avatar z0ink5 avatar zhangyw49 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mini-diary's Issues

Auto-update fails with error

Stack trace:

Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2561:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.2
Electron 7.1.7
darwin 15.6.0
Locale: en-US

Error description:

I was trying to launch the app.

Editor no longer auto-scrolling

When writing a diary entry and the text reaches the bottom of the editor, the editor should scroll automatically to make the new line visible. This is no longer the case since v2.5.1. Instead, the text continues "below" the editor and is not visible to the user unless they scroll manually.

Translation

Are you planning to have translations in your app? I could help you with Spanish.

List view for diary entries

Hello,

First, thanks for this great application. Would it be possible to have an option to display (like the search results) all diaries that have been entered?

Well, as I become older and older, I do not necessarily remind what I have entered and when, so this can helps. Else we have to display month per month and click on every highlighted date to display the diary.

Thanks and regards
Henri

Unable to search special characters

Special characters, like @ # etc can never be searched. I wanted to add hashtags. Instead of something like #sample, I had to type sample in search, which confused with any entry with the same word in content.

Basic rich text formatting

  • Switch to Markdown for storing diary entries
  • Support bold and italic text
  • Support bulleted and numbered lists

Support checkbox and nested lists.

  • I think a checkbox for personal goals would be really nice, especially since there's the "Allow entries in the future" option.

And indented / nested lists. So currently you can only do:

  • Item 1
  • Item 2

Where I'd like to be able to do:

  • Item 1
    • Item 1.1
  • Item 2

Error due to multiple Draft.js editors

TypeError: Cannot read property 'getIn' of undefined
    at e.exports (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:21:230406)
    at e.exports (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:21:229945)
    at e.exports (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:21:228911)
    at e.exports (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:21:228269)
    at file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:87:98276
    at Object.m (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1024)
    at k (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1167)
    at file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1313
    at S (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1399)
    at T (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1848)

Mini Diary 2.5.0
Electron 7.1.2
linux 5.3.0-24-generic
Locale: en-GB

Auto-update fails with error

Stack trace:

Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2558:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.1
Electron 7.1.3
darwin 19.2.0
Locale: en-US

Error description:

Preserve empty lines

Because diary entries are stored as Markdown, empty lines are automatically combined and saved as a single line break (\n\n in Markdown).

To be able to preserve empty lines, a Remarkable plugin needs to be written which keeps all newline characters. That plugin could then be passed to the markdown-draft-js configuration in the Editor.tsx component.

See jonschlinkert/remarkable#242.

Template support

Hi!

I'm really enjoying Mini Diary, the design is perfect. Usually when I write an entry, I tend to answer specific questions, eg. "What did you learn?" or "What decisions did you make?"

I think it could be useful, if the user was able to specify a template for an entry. It could be stored in GitHub Gists or simply as an .md file:

# Example of a template

## What did you learn?

## What decisions did you make?

[...]

Let me know your thoughts.

Error due to multiple Draft.js editors

Stack trace:

TypeError: Cannot read property 'getIn' of undefined
    at e.exports (file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:21:230683)
    at e.exports (file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:21:230478)
    at e.exports (file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:21:229215)
    at e.exports (file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:21:228564)
    at file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:87:98441
    at Object.m (file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:37:1024)
    at k (file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:37:1167)
    at file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:37:1313
    at S (file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:37:1399)
    at T (file:///snap/mini-diary/8/resources/app.asar/bundle/renderer.js:37:1848)

Environment:

Mini Diary 2.5.1
Electron 7.1.3
linux 5.0.0-23-generic
Locale: en-GB

Error description:

Word count

Any plans to implement a word count option? I'd be interested in this feature and seeing what is required for this work.

Go-to specific date

If I want to add an entry on a past date it is high effort to navigate to this date.
It would be greate to have "date selection" possibility.

Can't save diary in another drive

image

As can be seen from the image above, you can't move your diary to another drive. Possibly because the file is just being renamed? The file would need to actually be copied to the new drive and then deleted.

Auto-update fails with error

Stack trace:

Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2558:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.1
Electron 7.1.3
win32 10.0.18362
Locale: de

Error description:

Started the App after a long time (~4 months), typed in my password and got the error message.

Auto-update fails with error

Stack trace:

Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2558:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.1
Electron 7.1.3
win32 6.1.7601
Locale: es

Error description:

Auto lock when idle

I was checking Electron examples, thus got to know mini-diary. Great work!

This is a feature request, can be handy. After few idle minutes, the diary will be locked automatically. User should be able to configure this settings i.e minutes. This is exclusive than the OS idle time.

Thanks

Auto-update fails with error

Stack trace:

Unhandled Promise Rejection Error
Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2558:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.1
Electron 7.1.3
darwin 19.0.0
Locale: en-GB
MacOs 10.15

Error description:

Error occurs when starting application. The application can still be used normally.

Add picture

I think it would be nice to have the possibility to add an image to everyday diary page.

Statistics

Statistics overlay, e.g. with the following numbers:

  • Total number of entries
  • Average number of entries per week
  • Longest streak
  • Current streak
  • Total number of words
  • Average number of words per entry

See #14 (comment)

Export is failling on mac os.

OS

Mac Os 10.15.1 (19B88)

What I have done

I download this software from appstore. I write my first diary. I click the file >> export >> export to json
And this error message shows.

Error Message

Unhandled Error
TypeError: Cannot read property 'webContents' of null
at M (/Applications/Mini Diary.app/Contents/Resources/app.asar/bundle/main.js:8:310433)
at click (/Applications/Mini Diary.app/Contents/Resources/app.asar/bundle/main.js:8:312376)

Auto-update fails with error

Stack trace:

Error: Redirect was canceled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2558:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.1
Electron 7.1.3
win32 10.0.18362
Locale: en-US

Error description:

I just opened the diary and a pop up appeared.

Crash when deleting lines

Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at ga (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:77609)
    at Ia (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:81585)
    at Wa (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:84902)
    at file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:98278
    at Object.t.unstable_runWithPriority (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:45:3218)
    at Es (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:98213)
    at Ts (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:97989)
    at Ds (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:97334)
    at Ps (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:98709)
    at Dn (file:///Applications/Mini%20Diary.app/Contents/Resources/app.asar/bundle/renderer.js:37:30567)

Mini Diary 2.4.1
Electron 5.0.8
darwin 19.0.0
Locale: en-GB

Auto-update fails with error

Stack trace:

Error: net::ERR_CONNECTION_RESET
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2533:21)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.1
Electron 7.1.3
darwin 19.2.0
Locale: en-GB

Error description:

AUR?

Any plans to add it to AUR? :)

Add future events

First thanks for building this beatiful and intuitive application, I use frequenly to post my notes, but I wish write some future events in the diary and I can't, do you plan to implement??

Encrypt / decrypt command line

Hi

I would like to decrypt and encrypt the .txt file using (Mac) command line. Can this be done? What encryption type are you using? I've tried openssl but i get "bad magic number" after inserting my password.

Thank you

Konrad

Cloud sync

Hello,

Love the app, currently I'm hacking together a prototype with cloud sync. My question is did you ever plan on making it work with cloud sync ?

As for my motivation, I love the app use it everyday but I can not use it on different devices. So I'm trying to create now a way to make the cloud sync work so I can sync it between my 2 Pcs for now.

Please let me know what you think of this and if this is something you intended.

Thanks

Multiple Diaries?

Is there a way to have multiple diaries? e.g. personal file, work file?

Auto-update fails with error

Stack trace:

Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2561:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.2
Electron 7.1.7
darwin 19.2.0
Locale: en-US

Error description:

Auto-update fails with error

Stack trace:

Error: Redirect was cancelled
    at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:2558:23)
    at SimpleURLLoaderWrapper.emit (events.js:203:13)

Environment:

Mini Diary 2.5.1
Electron 7.1.3
win32 10.0.18362
Locale: en-US

Error description:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.