this post was submitted on 04 Jul 2023
18 points (100.0% liked)

Meta

208 readers
1 users here now

Community for meta posts about MoneroTown.

Matrix/IRC room for live discussions: #monero.town:monero.social

Community icon by DinosoftLabs - Flaticon

founded 2 years ago
MODERATORS
 

I hope everyone here is having a great time on Lemmy!

top 13 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 2 years ago (1 children)

If you're done with all the fun stuff you had going on I'm ready to build you a couple of bots.

[โ€“] [email protected] 3 points 2 years ago (1 children)

Well we do have a nice and improved default theme, image uploads are optimized and there should be enough storage for now.

Some bots I'd be interested in would be:

  • Automatic recurring threads (Weekly discussion, Friday Market thread, MAAM - Monero Ask Anything Monday, Skepticism sunday)
  • Auto-posting the Monero newsletters like revuo monero, the monero standard, etc
  • Auto-posting new CCS proposals (theres a rss feed for those)
[โ€“] [email protected] 6 points 2 years ago (1 children)

Alright so the second two are basically the same bot, it would run periodically (configurable time periods), check an RSS feed (or multiple ones) and then post to a specified community via a specified account.

The first one is significantly easier than that, it doesn't even need to check RSS feeds first.

I'll be getting started today on these, I don't see why I can't have them done by tonight. Maybe I run into something that delays me a couple of days, I doubt it.

[โ€“] [email protected] 1 points 2 years ago (1 children)

Awesome, I'll be looking forward to it! There's no need for you to rush though :)

[โ€“] [email protected] 1 points 2 years ago (1 children)

Do you happen to have an RSS/atom feed URL for the CCS site? I can't find one at ccs.getmonero.org

[โ€“] [email protected] 2 points 2 years ago (1 children)

https://repo.getmonero.org/monero-project/ccs-proposals/-/merge_requests.atom?state=opened

I'm not quite sure how it's going to work but while you're at it, could you make an offshoot that posts releases? We could make a community just for those. Here are some:

And perhaps a non-monero news one:

If you could just put all feeds in a config and individually point them at communities, that would be amazing!

I also just found this bot, not sure if that helps you with anything.

[โ€“] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

If you could just put all feeds in a config and individually point them at communities, that would be amazing!

That's how I'm building it. So you'll be able to call a config that logs in, checks multiple RSS feeds for updates, posts the updates each in their specified community. You can have multiple configs that each have a different login and post different things. You'll call the script and pass it a config file path from a cron job, and you can have as many of those as you like and as many different configs as you like on your VPS.

I'm going to build you a config that does the usual Monero newsletters plus CCS, you'll have to input login info for it in the config. You can use that as a template to make any number of them that post any number of RSS feeds from any accounts you want to create. You should probably create a monero news bot account for it, and I'd do separate bots for lemmy updates, monero releases, etc. The accounts dont have to be mod or admin, they just have to be able to post.

You're about to see some testing going on later today from this account. That's me testing this thing.

[โ€“] [email protected] 1 points 2 years ago (1 children)

Got it, very cool. Thanks for working on this :)

[โ€“] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

Do you happen to know the API endpoint for logging in? I can't for the life of me find it. The docs say https://instance.TLD/api/v3/user/login?username_or_email=<username>&password=<password> but /login goes nowhere, at least for monero.town.

I'm also about to post after I get login working so if you know the format of that query string you can toss that in too, save me some time fumbling with the lemmy docs.

[โ€“] [email protected] 1 points 2 years ago

From someone on matrix: It's a POST endpoint The response is a jwt and a few flags. Well you have to post and the body is json with the attribute rather than GET request params

[โ€“] [email protected] 2 points 2 years ago (1 children)

I'm on my PC whats Lenny? ๐Ÿ˜œ

[โ€“] [email protected] 3 points 2 years ago

In case this isn't a joke: Monero.town runs a Fediverse software called Lemmy. This means that you can subscribe to communities (subreddits) and participate in them on servers other than your home instance. I've just made a FAQ post on this topic :)

[โ€“] [email protected] 1 points 2 years ago

Yeah this is my town, na na na na na. Where i was born, where i was raised, where i keep all my yesterdays

load more comments
view more: next โ€บ