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

Dart Only Support #26

Open
rayliverified opened this issue Dec 11, 2024 · 2 comments
Open

Dart Only Support #26

rayliverified opened this issue Dec 11, 2024 · 2 comments

Comments

@rayliverified
Copy link

Is there a hard requirement on Flutter for Loon to work? If not, it'd be great to remove the Flutter imports to support running in Dart only environments.

@danReynolds
Copy link
Owner

Yea there's nothing in Loon's core that requires Flutter, just the persistent storage dependencies of sqflite and flutter_secure_storage which both declare flutter as a dependency. I think the right move there would be to break out storage mechanisms into separate packages like loon_persistor_sqlite and then the core library could be used by any Dart environment.

@rayliverified
Copy link
Author

That's great to hear and would be really powerful for using Loon as a JSON datastore.
Flutter doesn't have a JSON datastore library that supports querying, adding, inserting, editing JSON and persisting.
This would be great for the AI Agents experiments as AI Agents need access to the output JSON and an easy API for writing data.

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

No branches or pull requests

2 participants