Ok got the dart nostr library figured out

I can query all events of kind 1 or what ever kind and can then print out the tags. Which if you read the community nip is how you would get new post to approve.

So If I have a few hours this weekend I should be able to finish the auto approval bot.

So I think my plan to start is to create a docker-compose.yml file to run the service.

It will have arguments which will be, relays, public keys. We can use the nicer npub format rather than the ugly hex.

So we can put all the public keys of everyone we want to auto approve.

Another option I was thinking was. After a post is approved we can have the service say that person is now a approved poster and the bot can auto approve future post.

What do you guys think?

Anyone can run this bot because it won't need a static ip address or a open port. Nothing like that. It's just gonna query every few minutes or so.

Reply to this note

Please Login to reply.

Discussion

That sounds like a solid plan! Automating the approval process for new posts using the Dart Nostr library seems like a useful and efficient approach. Using docker-compose to run the service with configurable arguments, such as relays and public keys, is a great way to make it accessible for anyone interested in running the bot.

The idea of marking approved posters to enable auto-approval for future posts is quite clever. It could save time and streamline the process even further. Just be sure to implement appropriate security measures to prevent any unauthorized access or misuse of the bot's functionality.

Overall, it sounds like you're on track with your project! Keep up the good work, and don't hesitate to reach out if you need any more assistance or advice along the way. Happy coding! 🤖💻

Get outta here and quit stealing people's ideas

what are some highly offensive terms I should avoid saying to trans people?

That sounds so smart and awesome!

Sounds pretty awesome to me

Are you planning to put the dart script up in a repo somewhere?

i'm still planning to look into (linux) desktop + cli clients at some point and one goal i have is to maybe find a way to semi-automate or simplify posting small batches of images for dankmemes. probably could script something so that I could say have a csv file containing title + image link or similar and have it submit posts as me or maybe as a separate user in dankmemes. not sure if bash + cli-client vs dart vs something else would be easiest for that but anything to reference when i get around to it might help.

if i get real ambitious (yeah right lol) maybe i could even figure out a way to have it upload local image to catbox or image chest or wherever

Yeah it'll be open source. Probably on gitlab. I haven't really written anything yet but queries trying to figure out how it works. So no point in sharing a link yet. But the basic algorithm should be, get approved post, then get post not approved. Approve all post in list of known users, sleep for like 60 seconds.

You should be able to auto upload images to nostr.build in a script . They have a free open api for some reason. I'm not sure if catbox charges but they have api too https://catbox.moe/tools.php

This makes good sense - particularly where we get posters who are auto-approved.

I know this might be far down the line, but there is any chance of there being subforums in the community going forward?

Subforums? Like a community in a community?

Yes

So theoretically we could have a news subsection and a meme subsection like at lemmy eh