Giter Site home page Giter Site logo

voklen / daily-diary Goto Github PK

View Code? Open in Web Editor NEW
41.0 2.0 2.0 2.97 MB

An app to create a diary entry every day

License: GNU General Public License v3.0

Kotlin 0.11% Swift 2.01% Objective-C 0.03% Dart 57.42% CMake 16.97% C++ 21.25% C 1.28% Shell 0.51% Python 0.41%
android diary flutter ios linux

daily-diary's Introduction

👋Hello, I'm Alex

pub struct SoftwarePreferences<'a> {
    os: &'a str,
    desktop_environment: &'a str,
    browser: &'a str,
    search_engine: &'a str, // Not local software, but software nevertheless
    IDEs: Vec<&'a str>,
}

pub struct Me<'a> {
    name: &'a str,
    uptime_years: u128,     // A u128 might be a biiit exccessive for age...
    pronouns: Vec<&'a str>, // Vector because pronouns could be added or removed during human's runtime
    favorite_languages: Vec<&'a str>,
    software_preferences: SoftwarePreferences<'a>,
}

pub fn main<'a>() -> Me<'a> {
    Me {
        name: "Alex Gorichev",
        uptime_years: 18,
        pronouns: vec!["he", "him", "they", "them"],
        favorite_languages: vec!["Rust", "Python", "GDScript"],
        software_preferences: SoftwarePreferences {
            os: "Arch linux",
            desktop_environment: "Hyprland",
            browser: "Firefox",
            search_engine: "Ecosia",
            IDEs: vec!["Helix", "VSCodium"],
        },
    }
}

daily-diary's People

Contributors

fhoekstra avatar poussinou avatar voklen 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

Watchers

 avatar  avatar

daily-diary's Issues

Entries are gone when I restart the app

Hi,
I have the problem that all entries of the current day are gone when I close and reopen the app.

I looked at the .txt files in parallel with a text editor in order to find out what happenend:

When I create an entry, the app writes the text into the file. But when I close the app, it "erases" the text from the file or creates a new, empty file (I couldn't really figure that out).

What am I doing wrong?

I use a Samsung Galaxy S22 with Android 13.

Doesnt scroll

I am not talking about edit mode.
When viewing previous diaries, I cant scroll.
I saw this issue was closed before

Not saving on close (repeatable logic bug)

There's a pretty significant repeatable logic bug (on my phone the Moto G 5G stylus (2022) with the latest version of this app, with battery optimization on unrestricted:

Swiping up from the bottom bar and releasing, or circle, to return to the home screen, writes the current notes onto the text file, which is intended and good. Also pressing back, or triangle, until the app closes, also savss the file.

However, swiping up and holding and releasing, or the square button, and then swiping the app away to close, does not save it.

I think that there should be no way to exit the app without it being saved, and the second option doesn't. I know this is not impoasible to implement cause the app ColorNote does it, and even notifies you that this occurs.


Btw thank you very much for this awesome app, I love that it makes making txt files really convenient.

If app saves before app can load, it deletes the note (bug)

My entry for the current date, very rarely, but regularly, would just delete. I think I've narrowed down what may be causing it:

Upon loading the Daily Diary App, there is a brief interval of time, (maybe 0.05-0.15 seconds in), where there is nothing written on the Daily Diary app, because it yet needs to be loaded.

Combine this with that if you save it by say, pressing back (triangle, or side-screen swipe), while the app is still loading the text, it will overwrite the day's txt file with nothing, effectively deleting the note.

To reproduce this for myself on Moto G 5G 2022, I had to put the app on the homescreen on the right so I can side-swipe (back) to exit the app (triangle) immediately to save it, and spam opening the app and pressing back to close it. If I do it quickly enough, I could reliably reproduce this bug.

I think the intended thing to happen of course is to not be allowed to save the app to the txt file until the app has had the txt file written to the app.

(Again, this is all a guess)

Just something that annoyed me when I realized my notes were deleted twice today.

Hopefullt it can be reproduced on other devices.


Again, thank you for this app and all of the updates.

Encoding problems

The app seems to have problems encoding non-ASCII characters - when I type in Polish characters (used 'Żółć' for tests) it looks ok, but when I close the app and reopen, wrong characters are drawn. The issue is also present for imported notes with Polish characters, encoded with utf-8.

[Bug,Android] Spellcheck is not working properly

Hello!
I just started using your app, but it's not really working properly with spellchecking, and I couldn't find an option to disable it.

Screenshot_20221213-100351.jpg

I have two languages installed (Danish and English), but neither seem to be handled properly

I changed the directory on a non-rooted device, now my entries are gone?

I was looking for a way to export my written diary entries, so I sadly ignored the warning that this would not work without root.

The phone I did this on is non-rooted, is there any way to recover my files? I cannot access the folder and set the setting back to its original state (I assume that was where all the files that made up the notes were stored, hence changing that makes the app lose track of where those notes are)!

Is there anything I can do? Maybe in a next update you could add a button to restore that setting and or export the notes into a format that can be imported by the same app (or just as markdown files)!

Super grateful for your development, love the concept of Daily Diary!

Scroll issue

If you write longer than screen then it do not scroll.

Add internationalisation

Add the option to use other languages in the app and clear instructions on how to make a pull request to add more.

Support insert pictures

I've tried several open source apps, and this one has my favorite interactive mode, where I just open the app then input. but unfortunately it does not support insert pictures.

It would be useful if it could support insert pictures, as many things are difficult to express in words.

Thank you for developing this app. :)

Unable to define start of day

Issue: midnight has passed but unable to write note until 24 hours have passed (I assume) as currently 1859 and still showing previous day's note.

Expected: Once midnight has passed should be able to write next days entry.

Side note: potentially start of day time should be definable on device to allow for notes being written for previous day post midnight?

Empty entries in the history

There are empty files in the "Previous Entries" view.

Current Behaviour: In the "Previous Entries" section of the android app, there are days with no text in the diary. I believe these are days when I opened the app but didn't write anything.

Expected Behaviour: Days with no text do not show up in the pervious entries list, just as with days where the app wasn't opened. Alternatively, the user could have a way to mark and delete days, but that probably counts as a separate feature.

Allow file name customization

It would be nice to customize the file name and extension via a date template.

Proposal: For example %Y-%M-%D.md should be translated to 2023-06-14.md as the diary file for today.

Background: I would like to use markdown files for my diary instead of the default txt extension and maybe this would be an opportunity to also allow customizing the file name as the directory can already be adapted...

Allow Exporting Encrypted Notes

I propose a feature that allows you to export your entries in an encrypted format, so that you can export your entries privately and securely. If anyone were to get their hands on my device, I sure as hell know I wouldn't want them reading my entries, I've put some pretty personal stuff in there! So while I propose encrypting the apps database, I also propose adding some sort of lock that allows you to only access the app with your phones pin or biometrics. Would be super cool to have!

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.