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

[concept] AI Copilot #174

Open
melvincarvalho opened this issue Apr 26, 2023 · 7 comments
Open

[concept] AI Copilot #174

melvincarvalho opened this issue Apr 26, 2023 · 7 comments

Comments

@melvincarvalho
Copy link
Contributor

melvincarvalho commented Apr 26, 2023

Currently the idea of copilot in tools are gaining popularity

I was wondering what mind mapping folks think about this

Below is a video form superus which demonstrates the concept

Watch Video

Another is a todo list that does itself for you

Personally when I run my-mind locally I set up a process called, aimon.sh, which monitors changes in a map that I make when I hit save (saved to nosDAV and it will

  • run a command
  • give myself a payment reward
  • use AI to expand questions
  • use NosDAV pubsub to replace firebase with an open system for realtime, collaborative, payments enabled maps

I dont yet have todolists that do themselves, but I think that would be kind of cool, and head towards AGI for mind maps.

I am wondering if there is an appetite for any of these features.

@arkin0x
Copy link

arkin0x commented Apr 26, 2023

invader-zim-mighty-need

@rquast
Copy link
Contributor

rquast commented May 19, 2024

I am considering modifying my-mind to muck around with anythingllm which offers a pretty easy to use API for this purpose.

@rquast
Copy link
Contributor

rquast commented May 19, 2024

I reckon I could probably make some kind of plugin that hooks into subscribers in pubsub.ts (e.g. "item-change" events) to listen for changes to nodes. I'd probably keep it in a separate project and not pollute the lightweight code here. Thinking I might expose expose subscribers on a global scope rather than a module scope so I can access it from another script without needing to create some kind of plugin system. Might also need to add events that handles adding/removing/editing nodes.

@melvincarvalho
Copy link
Contributor Author

There already is such code in there for firebase updates. However firebase is proprietary.

I prefer a pub/sub solution over websockets called nostr:

https://nostr.how/en/what-is-nostr

Which does pub/sub over websockets. More background on nostr here. And it might be possible to apply for an open source grant to integrate my mind and nostr here

@rquast
Copy link
Contributor

rquast commented May 19, 2024

Yeah, I can see this in the firebase one:

pubsub.subscribe("firebase-list", this);
pubsub.subscribe("firebase-change", this);

...

case "firebase-change":
if (data) {
pubsub.unsubscribe("item-change", this);
app.currentMap.mergeWith(data);
pubsub.subscribe("item-change", this);
} else { /* FIXME */
console.log("remote data disappeared");
}

That's a good place to start. Thanks.

@rquast
Copy link
Contributor

rquast commented May 19, 2024

Yeah I like the idea of your nostr pub/sub backend. Probably go with something like that to keep it easy and use the firebase code for a bit of help.

@melvincarvalho
Copy link
Contributor Author

@rquast awesome! I would be happy to run a nostr relay if you want to test. But there are a few 100 here

A nostr relay also be run with a single line of code if you have docker:

# docker pull scsibug/nostr-rs-relay
docker run -p 4445:8080 scsibug/nostr-rs-relay

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

3 participants