https://gitlab.com/nostrwolf/communitybot
Feel free to add to it. Ask questions. 2 days left of exploding heads. With this bot posting to communities feels a lot more fun and easy going. Like lemmy.
It will auto approve post for any person not in the block list. Which I’m gonna use for bots.
Still more features to add in the future but this basic bot works fine.
This is my first time writing dart code so the code is pretty dirty. However it works fine.
Dude you’re like super smart lol how do you just ‘know’ how to do that?
Like let’s just say if you wanted to, could you make a bridge for reddit in nostr?
I’m just curious cause you got skills dawg
thank you. It’s actually not much though it’s just a simple script. barely 200 lines of code And I had to read the spec. Mostly here and here Any code monkey should be able to do it.
While doing that I had my own relay up (nostr backend) based on the nostr spec creator’s relay lib . Then I could look into the data base to see how that spec really worked. Just basic sql queries.
You can actually see where I figured out how to query nostr with websockets two weeks ago here https://exploding-heads.com/post/714630
So now I know enough knowledge to actually build apps off the nostr protocol. It’s much easier to understand than the fedivers’s activity pub.
No not really. Their api is now closed off. And really the whole redit exodus that brought all the lemmy.world users was because they locked it down. Third party apps stopped working.
I would have to do page scraping and it would be painful and reddit could break it easily by just changing their layout a little bit.
I’ll likely build more nostr stuff in the future. But I only have a few hours a week. So it will probably be low hanging fruit like this one that can really change experience quick with little effort.
Dam dude that’s so cool! Yea don’t underestimate yourself man, you’re like a magician lol that would be cool if we could bridge it. Maybe some day in the future something will come out who knows.