Announcing NostrDVM 1.0.0.

After 1.5 years of experimenting, researching, and building, I'm happy to announce that NostrDVM - A Python framework to build and run Nip90 Data Vending Machines - hits version 1.0.0.

NostrDVM allows anybody to provide both free and paid micro services on #Nostr. This ranges from content discovery algorithms to image, text or video generation, translation services, text-to-speech, speech-to-text, music generation, basically whatever you can imagine, now and in the future.

You might have come across some of these services in some of the social clients or in DVM specific clients, most likely for content discovery.

The framework handles all NIP90 logic, and manages NIP89 announcing DVMs, zaps, nutzaps, encrypted and public tasks, local databases, web of trust, NWC, outbox model, auth with filehosters and a whole bunch of other NIPs, so developers can focus to bring their existing code, models or API to Nostr.

Tutorials to quickly start are provided on GitHub as well.

My hope is this framework can help developers, both professional and hobby enthusiasts to build new, and enrich existing services on Nostr, improving the experience around clients for all users and compete in an open marketplace of services. I'm excited to see who will build the best content discovery algorithms, or who will provide the best AI models in the future.

I'm grateful and l'd like to give a big thank you to nostr:nprofile1qqs8suecw4luyht9ekff89x4uacneapk8r5dyk0gmn6uwwurf6u9ruspzpmhxue69uhkumewwd68ytnrwghszxthwden5te0wfjkccte9eekummjwsh8xmmrd9skctcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhs2juazd for making it possible to focus my energy on this project in the last year. It was my pleasure and an honor.

I will continue to maintain DVMs (actually I recently deployed them on a new, more powerful server) and the framework itself, maybe at a bit lower pace than recently, and my DMs are open if you have questions or issues building your own DVMs.

You can install NostrDVM by running

pip install nostr-dvm

and you can find the code/instructions and tutorials here:

https://github.com/believethehype/nostrdvm

Reply to this note

Please Login to reply.

Discussion

more stuff to play with. poetry + this new doodad == ? could be fun.

(ideas?)

I need this in Go πŸ‘€

nostr:note1npxzx3s94s8x5929qeyd4hkz58fplnyhye7sknh6s8lekq7dldgsmys8cw

python

BELIEVE TGE HYPE

This sounds awesome. I have had several ideas for DVMs but don't know how or where to get started. Hopefully this helps. Thanks.

If you need help getting started, let me know :)

Very cool man, congrats!

Would it be possible to use with code in other languages? I recall Carman building a prototype for a DVM engine that you provided a wasm to

You could for example call other programs/services running locally or remote of course, for example via an API.

Yes, definitely. I guess my idea was to leverage this without having to touch python at all

Congrats man!

I'm in the process of setting up one.

The only problem I had was to get NumPy package work. It needs C extension libs which the interpreter did not find initially. I had to manually adjust the activation script and add libstdc++ shared lib to LD_LIBRARY_PATH

Anyway big props and I'll keep exploring nostr-dvm!

Nvm I reset on latest main and a clean venv doesn't produce this issue anymore

Good to hear 😊

Thanks for all your work my friend 🐸

I’d really like to be able to give you a script, a key and have my DVMs hosted, AWS-style, particularly with local access to a database of a bunch of nostr events for complex queries 🀞

GOD MODE

ok… but my issue will be setting up lightning payments in exchange for the DVM compute

I don’t care if it’s custodial. I just want to get sats in exchange for having a good DVM that my frens use

Yes, ignore the lnbits stuff and set the lightning address in the profile of the DVM manually.

I guess I can use my stacker news lightning address…?

Would that work??

πŸ‘πŸ½πŸ‘πŸ½