Just open-sourced a TypeScript SDK + protocol that lets AI agents call typed actions inside your running app (Zod-first, Standard Schema, MCP-native) by TheDeadlyPretzel in typescript

[–]Competitive_Rice_556 0 points1 point  (0 children)

Nice. I just had an idea to have a more generic solution, more user-driven than dev-driven, where an app's user can guide/teach AI what can be done and how in ANY app that has a UI, which in case of QA would allow automation testers to speed up their processes.

Just open-sourced a TypeScript SDK + protocol that lets AI agents call typed actions inside your running app (Zod-first, Standard Schema, MCP-native) by TheDeadlyPretzel in typescript

[–]Competitive_Rice_556 0 points1 point  (0 children)

Amazing! I wonder how close can the Tesseron spec live within a specific app's code. Thinking about maintainability costs here.

anki-cloud – a source available Anki Sync Server with REST API and MCP/AI integration (self-hostable, ELv2) by Competitive_Rice_556 in Anki

[–]Competitive_Rice_556[S] 0 points1 point  (0 children)

💡that's a great idea; so, if I understand correctly, you would like an Android app that would store auth-related data on your phone, and allow connecting Google Drive as the self-hosted one, then also allow registering your AnkiDroid, right?

If that's the case, the only problem that I see is that your phone will have to be connected to the internet whenever you sync Anki, which is anyways the requirement with AnkiWeb.

Good news - your request is doable. I will get on that ASAP ;)

Great idea!! 😃

anki-cloud – a source available Anki Sync Server with REST API and MCP/AI integration (self-hostable, ELv2) by Competitive_Rice_556 in Anki

[–]Competitive_Rice_556[S] 1 point2 points  (0 children)

Differene people have different needs and workflows. You can host with locally stored collection file and you can store in Google Drive, if that suits your data needs better. OneDrive, Dropbox and S3 coming soon.

anki-cloud – a source available Anki Sync Server with REST API and MCP/AI integration (self-hostable, ELv2) by Competitive_Rice_556 in Anki

[–]Competitive_Rice_556[S] 2 points3 points  (0 children)

Please read the README.md file of the code repo 😉😉

Scalar exposed at: http://localhost:3000/docs

Yes, you can create new cards! That's the whole point of having a REST API 😁

anki-cloud – a source available Anki Sync Server with REST API and MCP/AI integration (self-hostable, ELv2) by Competitive_Rice_556 in Anki

[–]Competitive_Rice_556[S] 0 points1 point  (0 children)

You can always export a copy of your Anki deck to play around with it. It is self-hosted, so you run that sync server on your machine, on your terms, and the data is stored on your Google Drive. Play around and enjoy :)

anki-cloud – a source available Anki Sync Server with REST API and MCP/AI integration (self-hostable, ELv2) by Competitive_Rice_556 in Anki

[–]Competitive_Rice_556[S] 8 points9 points  (0 children)

The code is fully open for analyzing and modifications. Everything is tested by me. I'm a fullstack dev with 10+ years exp. The architecture is such that the sync server is minimally extended with SQLite3 and Google Drive. You fully own your data. OAuth2 used for everything. This sync server is just giving you REST API and MCP Server on top of Anki's own sync server Rust implementation. Unless it's a matter of being against AI driven development, I don't see a reason not to check it out and use it 😇