Anytype API research: share your use-cases with devs #218
Replies: 26 comments 17 replies
-
Use Case: Triggering the creation of calendar events on Google Calendar when certain criteria are met. For example, if an object is Type:task and has a "Date" relation, create a google calendar event, titled with the Object Title. |
Beta Was this translation helpful? Give feedback.
-
Creating an object with relations I think this is obviously the basic functionality that is needed. You need to be able to create an object with a specific type and specific relations and content. |
Beta Was this translation helpful? Give feedback.
-
Allow to save private channels from telegram with https://core.telegram.org/api/takeout into space where each post of that channel is object (note or page) |
Beta Was this translation helpful? Give feedback.
-
Update other relations when one relation changes Currently, I have tasks set up in a way, that when I click "DONE" checkbox on the layout, I have to go change the "Status" select option to "DONE" and set the "DONE Date" to today. Would like an API that when I:
|
Beta Was this translation helpful? Give feedback.
-
bulk import of data coming from a database into a collection. |
Beta Was this translation helpful? Give feedback.
-
Get objects filtered by object_type and relation My use-case: I have an object "day" with relation "date". I need to get this object filtered by current date (my next steps: parse it -> send it to TG and mail in the morning). |
Beta Was this translation helpful? Give feedback.
-
Use Anytype with Make.com for integration with other apps and automation. For example, I would want to use make.com to fetch data from anytype, then make.com would perform some action, then add a completed date or checkmark or change a single / multi select or tag in anytype. For example, let's say I want to use make.com and Anytype to help me write articles with ChatGPT. In Anytype, I might have a set of article titles with rough notes in the body of the object. I would use make.com to find the set, take the notes and title of the article, send it to ChatGPT, which would create an article . Then perhaps the completed article would be saved in Anytype ready to publish. Or it would be marked as complete and a date added to Anytype. |
Beta Was this translation helpful? Give feedback.
-
Another API use case I would like is using Anytype with Raycast (on Mac). For example, I would like to use it to create global keyboard shortcuts for things like creating a specific type of object or going to a specific page or set |
Beta Was this translation helpful? Give feedback.
-
Sync Tasks with Github/Lab Issues / PRs When using Anytype for task management, it would be very helpful to have some connection with the issues / PRs of certain Github/Lab repos that I'm working on. E.g. I would like to see them in my daily to do overview. See due dates, tags etc. |
Beta Was this translation helpful? Give feedback.
-
Sync bookmarks with Firefox I'm aiming at converging all my knowledge in one place. So storing bookmarks in Anytype makes sense to me. However, I still need the bookmarks in my actual browser. Syncing them via an API would simplify this. |
Beta Was this translation helpful? Give feedback.
-
An "Eat your own dogfood" API. That is, build an API that the Anytype team is forced to use to rewrite the Desktop and mobile apps. There should be no other way to interact with the Go core. No internal APIs. That's the best way to ensure we get an API that's fully featured and of great quality for everyone. |
Beta Was this translation helpful? Give feedback.
-
Use anytype as a backend for pomodoro/time tracking widget I imagine something like reimplementing of https://intend.do/ on top of Anytype. With desktop widget that allows to:
|
Beta Was this translation helpful? Give feedback.
-
Hi! using low / no-code solutions to automate monkey work:
I'm not a coder, but I would need a way to add Links to folder/files in nextcloud or o365. the view need to stay synced. |
Beta Was this translation helpful? Give feedback.
-
Integrating Anytype into Tasker, Raycast, and Pipedream would be my top 3 so I can integrate data from external sources. |
Beta Was this translation helpful? Give feedback.
-
Spaced repetition of specific notes. Like Anki. The implementation will be carried out using some third-party tool, for example: no-code tool n8n (if script execution is not added to Anytype in the future). From Anytype API, it is required to receive objects by tag, and change the relation field with date of the last repetition. |
Beta Was this translation helpful? Give feedback.
-
Google Drive and other cloud services integration As in Notion, we should be able to add files in Google Drive or other cloud service as embeds to our pages. |
Beta Was this translation helpful? Give feedback.
-
Quickly capture infos I already created a software using the API that allows me to quickly capture thoughts or literally anything to AnyType from CLI I just publised it here : https://github.com/ebanDev/AnytypeCapture Hope that helps ! :) |
Beta Was this translation helpful? Give feedback.
-
There is going to be a lot of local data, so I want to develop custom AI features with the help of local LLMs, if Anytype is not going to allow integration for Local LLMs in the future, it's not something I would expect to use long term. |
Beta Was this translation helpful? Give feedback.
-
Use case:Publishing new html documents to a website when new pages and notes are created. Further informationI would like to be able to create an object (mainly pages and notes) and mark it with a relation as public or private (that is pretty easy) then I would like to automatically add new hyperlinks and pages to my website based on the objects. I could see this being pretty useful for people who write in the personal knowledge base and want to share their writings on the web |
Beta Was this translation helpful? Give feedback.
-
Bulk modificationsI often find myself discovering a new way to enrich or structure my objects, and wanting to apply an update to some/all objects of a type. As a dev, with a relatively easy to use API I could script my own bulk modifications, but even better would be to have official or community built tools for it using that API. |
Beta Was this translation helpful? Give feedback.
-
Nextcloud integration |
Beta Was this translation helpful? Give feedback.
-
Google Sheet Export and Import |
Beta Was this translation helpful? Give feedback.
-
At least - just basics crud operations for core domain models Idk what to say else, it's basics |
Beta Was this translation helpful? Give feedback.
-
A kind of webhooks or full pub/sub model for domain events For a really big opportunities of customization, a classic api client-server paradigm is not the best choice Im not a spec in a p2p communication, but maybe if you don't have a classic server, it's more flexibility to implement publish/subscribe model for basic domain events e.g "object with id change state" |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this would qualify as an API or something different, but I'd like to be able to interact with my content as an unencrypted filesystem (similar to cyrptomator). I currently use obsidian and one of the things that I like is that it's just a bunch of md files in a directory, I can open them up in vscodium, I can run python scripts against them, I can trigger other actions when a file gets updated in a directory. I think that in itself would cover a lot of the API use cases, if not as cleanly as an API. As far as how API access would work, my first thought was that it would be an API node type running on a server, similar to consensus and coordinator nodes. Although it would be nice to also be able to run an API locally, being able to access it as an unencrypted local filesystem would serve most local purposes. |
Beta Was this translation helpful? Give feedback.
-
Use Case: Replacing GDocs, GSheets and Google Keep for personal and project documentation. |
Beta Was this translation helpful? Give feedback.
-
Hey, everybody! My name is Vasily, I'm a new member of Anytype team. We've recently started a research about API implementation for Anytype. The feature that you all and we have been wanting for a long time!
Because of our p2p and e2ee architecture, as you can imagine, the API in Anytype is not just a matter of coding a couple of REST-endpoints on a "server". Things are going to be a little trickier in our lives :)
To better understand what we should focus on first and not make an “abstract API” that nobody can use, we want to collect some use-cases from you.
Please tell us what you could use the API in Anytype for?
What bots, integrations, background services would you like to see first or code yourself? Maybe you've had an idea in your head for a useful integration for a long time, share it too!
Rules:
Template:
Use the template for better readability. We're going to refer to this thread a lot, so it would be nice to have it clean and organized.
Related discussions
Beta Was this translation helpful? Give feedback.
All reactions