cachapa / tudo Goto Github PK
View Code? Open in Web Editor NEWA simple to-do app
License: Apache License 2.0
A simple to-do app
License: Apache License 2.0
I'm not sure what the standard for web app containers is. I guess it should include a web server and (optional?) certificate handling.
I'm quite happy with Caddy as it handles the certificate stuff transparently, but would be happy with other solutions as well, e.g. nginx.
Scroll up/down automatically when the dragged item is close to the list edge
Challenge: figure out how to handle auth when changing servers in a running system
This app looks great, it's exactly what I've been looking for for a while! How feasible is it at the moment to run a tudo server on my own systems? The two limitations I see right now are:
Is there an interest in making tudo easier to self-host? Are there any other current limitations I've missed? If it is wanted, I could probably contribute the necessary parts for building and releasing docker images for tudo_server (and perhaps for the web build of the client?)
Thank you!
I would be nice if we know if the data is successfully synced or not or whatever status it is.
Two options off the top of my head:
If we go the manual export route we still need a better way to reset the app than asking the user to re-install.
I use android's gesture navigation, which includes swiping from the edge of the screen to navigate backwards. Occasionally, I miss and accidentally delete a list item. Luckily there is an undo button, but this is still inconvenient. I think there are a few possible approaches here:
Hi @cachapa ,
First, I would like to thank you for a great CRDT example on Flutter, really appreciate the hard work.
Anyway, is there any plan to export sqlite_crdt.dart
implementation to a separate dart package in the pub.dev? Personally, I would like to use it on my projects. I will gladly help if there's anything that needs to be done to achieve that, thank you ๐
I am running flutter on Fedora 64 bit.
Not sure what I'm doing wrong right now. I had to upgrade the hive dependency as mentioned in the other issue.
wss://0.0.0.0:8080
(changed in config)However, on printing the error in connection, I see this.
flutter: disconnected: WebSocketChannelException: WebSocketChannelException: HandshakeException: Connection terminated during handshake: #0 new IOWebSocketChannel._withoutSocket.<anonymous closure> (package:web_socket_channel/io.dart:98:24)
#1 _invokeErrorHandler (dart:async/async_error.dart:45:24)
#2 _HandleErrorStream._handleError (dart:async/stream_pipe.dart:272:9)
#3 _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:157:13)
#4 _rootRunBinary (dart:async/zone.dart:1378:47)
#5 _CustomZone.runBinary (dart:async/zone.dart:1272:19)
#6 _CustomZone.runBinaryGuarded (dart:async/zone.dart:1178:7)
#7 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:360:15)
#8 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:378:16)
#9 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
#10 _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:737:19)
#11 _StreamController._addError (dart:async/stream_controller.dart:615:7)
#12 _rootRunBinary (dart:async/zone.dart:1378:47)
#13 _CustomZone.runBinary (dart:async/zone.dart:1272:19)
#14 _CustomZone.runBinaryGuarded (dart:async/zone.dart:1178:7)
#15 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:360:15)
#16 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:378:16)
#17 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
#18 _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:737:19)
#19 _StreamController._addError (dart:async/stream_controller.dart:615:7)
#20 new Stream.fromFuture.<anonymous closure> (dart:async/stream.dart:166:18)
#21 _rootRunBinary (dart:async/zone.dart:1378:47)
#22 _CustomZone.runBinary (dart:async/zone.dart:1272:19)
#23 _FutureListener.handleError (dart:async/future_impl.dart:169:20)
#24 Future._propagateToListeners.handleError (dart:async/future_impl.dart:719:47)
#25 Future._propagateToListeners (dart:async/future_impl.dart:740:24)
#26 Future._completeError (dart:async/future_impl.dart:550:5)
#27 Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:606:7)
#28 _rootRun (dart:async/zone.dart:1354:13)
#29 _CustomZone.run (dart:async/zone.dart:1258:19)
#30 _CustomZone.runGuarded (dart:async/zone.dart:1162:7)
#31 _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1202:23)
#32 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#33 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
As suggested in #23
Thank you so much for creating the tudo example. I'm learning a lot from it.
I want to make sure I understand your implementation of CRDT. Please let me know if this correct:
To use CRDT for a generic table, the following fields are added:
If this is correct, then I have two questions:
Counterpart to cachapa/tudo_server#2
Trigger connection when app goes in the foreground
Disconnect when it goes in the background
Create and host a web application
The currently used hive_crdt
is old (no null safety).
It would be nice if tudo is available on F-Droid too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.