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.

You are viewing a single thread.
View all comments View context
2 points

Dude you’re like super smart lol how do you just ‘know’ how to do that?

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.

Like let’s just say if you wanted to, could you make a bridge for reddit in nostr?

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply

Nostr Blog

!nostrblog@exploding-heads.com

Create post

Blog about learning Nostr to solve the problems with the fediverse.

Problems to solve

  1. Community fragmentation
    • Communities on different instances with the same name are confusing to the user. It’s unintuitive. Users should be able to pull community post from as many servers as they want, combine them and reply to them with the same user account.
  2. Defederation.
  • The user should be in charge of what they see with the ability to opt in or out of admin’s curated list of servers . Defederation is oppression of the user when the user does not consent.

Nostr can fix these problems but it currently has no concept of communities or the ability of relays to moderate themselves. Moderation is curation and so is a valuable service if the user can opt out by subscribing to another server.

Community stats

  • 1

    Monthly active users

  • 61

    Posts

  • 34

    Comments