Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline Notes #2690

Open
moinologics opened this issue Jan 1, 2024 · 26 comments
Open

Offline Notes #2690

moinologics opened this issue Jan 1, 2024 · 26 comments
Labels
enhancement New feature or request

Comments

@moinologics
Copy link

moinologics commented Jan 1, 2024

Describe the solution you'd like

if network is not connected

  • memos should saved in local storage
  • once network is back, than it should send notes to server in same order of time as user created in.

Type of feature

User Experience (UX)

Additional context

@moinologics moinologics added the enhancement New feature or request label Jan 1, 2024
@VegTableBird
Copy link

agree + 1

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


agree + 1

@petrst
Copy link

petrst commented Jan 2, 2024

+1

1 similar comment
@pisceswb
Copy link

pisceswb commented Jan 4, 2024

+1

@itschip
Copy link
Contributor

itschip commented Jan 12, 2024

I can give it a go @boojack - I'll add a service worker and test out syncing.

@VegTableBird
Copy link

I can give it a go @boojack - I'll add a service worker and test out syncing.

ty, hope that

@PylotLight
Copy link

I can give it a go @boojack - I'll add a service worker and test out syncing.

Hey did you have a go at this one at all?

@nyakojiru
Copy link

+1 this feature would be huge

@wd4455
Copy link

wd4455 commented Jun 3, 2024

+1 I hope to have a mobile app that allows me to log in and upload when I return to WiFi

@mmBesar
Copy link

mmBesar commented Jun 9, 2024

+1 I hope to have a mobile app that allows me to log in and upload when I return to WiFi

+1

@jorgebg
Copy link

jorgebg commented Jul 6, 2024

+1

1 similar comment
@proxseas
Copy link

proxseas commented Jul 7, 2024

+1

@RoccoSmit
Copy link
Contributor

This sounds like a great idea, I can see this being helpful when you host your memos on your local network and dont have access to it when you are not on your wifi

The amount of data you can store in your browser local storage will be a limiting factor. I believe you are limited to 10mb. This would not allow for a resource heavy set of memos e.g. 2 or 3 photos will take up all that space

implementing this in a mobile app sounds like the way to go

@seven1240
Copy link

It would be great if some features still work when you go offline, but I think reading is more useful that writing. Since if you cache locally you need to make 100% sure it will never loose you hard work, or you will still need to make a backup somewhere.

@RoccoSmit
Copy link
Contributor

Worth noting that if you are offline your browser won't know how to resolve your url so you won't get to the offline page. You will get a no internet screen from the browser

@jorgebg
Copy link

jorgebg commented Oct 1, 2024

@RoccoSmit
Copy link
Contributor

That is pretty neet. Am I correct in understanding you need to be on the page already for the service worker to load an to take effect when the internet goes out?

My comment was based on being able to load a new instance of memos in a browser when offline. I feel like I have a different interpretations of what offline means to what this issue is trying to solve

@leon-ITA
Copy link

With this features we can not use anymore gnotes

@t18n
Copy link

t18n commented Dec 13, 2024

Just found out about Memos, this is the first issue I looked into. Luckily, there is Moe Memos on both iOS and Android.

@richardszegh
Copy link

Maybe using something like https://replicache.dev would solve this problem (and simultaneously make the app faster / more responsive)?

@leon-ITA
Copy link

Not useful for smartphone application I guess!

@oslavq
Copy link

oslavq commented Dec 22, 2024

+1

@Fricsion
Copy link

Fricsion commented Feb 7, 2025

I hope this could work with Progress Web App servicers + indexdb. It should technically achieve completely offline storage with sync capability. Similar thing is achieved on another note-taking app called SilverBullet.

@github-actions github-actions bot added the Stale label Feb 21, 2025
@baoziL
Copy link

baoziL commented Feb 27, 2025

+1

@github-actions github-actions bot removed the Stale label Feb 28, 2025
@SeerLite
Copy link

Being able to run the frontend locally on my computer and saving the notes as text files (not plain text necessarily) so they can be synced via SyncThing to another computer running this same program, and that computer showing the new memo instantly (as fast as it sees the file changed) would be amazing and fit my usecase.

I'm personally looking for a replacement for Telegram's "Saved Messages" that works even if there is no internet.

@oslavq
Copy link

oslavq commented Mar 2, 2025

Being able to run the frontend locally on my computer and saving the notes as text files (not plain text necessarily) so they can be synced via SyncThing to another computer running this same program, and that computer showing the new memo instantly (as fast as it sees the file changed) would be amazing and fit my usecase.

I'm personally looking for a replacement for Telegram's "Saved Messages" that works even if there is no internet.

I think that creating a front end app that will save the memos locally then POST them to the API (just like every instant messenger) when network is available would be much easier and better, SyncThing is prone to file conflicts

CreateMemo endpoint already has createTime and updateTime (API Reference), so the only thing left to do is create a desktop/mobile app with the functionality you want to have

There is a community frontend app for mobile devices Moe Memos, on their FAQ page it says:

Offline support is planned in future versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests