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

Meta

202 readers
2 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 1 year ago
MODERATORS
 

Edit 2: This has been replaced with a bot that posts way more reliably, as well as locally to the instance.

~~#### Edit: This doesn't seem to work that well, will be upgraded soon.~~

~~Posts made to r/Monero can now be seen on monero.town by subscribing to [email protected] πŸŽ‰~~

geteilt von: https://lemmit.online/post/157129

This is an automated archive made by the Lemmit Bot.

The original was posted on /r/monero by /u/monerobull on 2023-07-10 19:36:45+00:00.


If this works as planned, this post should show up in the feed of https://monero.town/, a monero-focused Lemmy instance.

Comments made on either the reddit or Lemmy side don't get synced, just the post itself.

If you can see this post on .town, congratulations, you don't have to visit reddit anymore πŸ₯³

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (1 children)

From the bots FAQ:

Does this use the API? Will it keep working after July 1st?

A: Nope, it uses a combination of the public feed and scraping old.reddit.com. So, as long as those are still available, it will continue working. And even if they close those sources, there will probably be new ways to achieve the same effect. β€œContent, eh, finds a way.”

[–] [email protected] 1 points 1 year ago (1 children)

lemmit.online is down, is there source code for this bot?

[–] [email protected] 1 points 1 year ago (1 children)

Here, although there seems to be a simpler way to get the posts onto our instance via rss that I am looking into.

[–] [email protected] 1 points 1 year ago (1 children)

Do subreddit have RSS feeds? If so I'm almost done lol, took longer than I wanted it to but some important personal stuff came up

[–] [email protected] 1 points 1 year ago (1 children)

Amazing timing, I literally set this shing up 1 minute ago to post the reddit rss feed to town because I was bored. I don't want your work to go to waste so if you want to finish it, I'd like to switch to yours πŸ˜…

[–] [email protected] 2 points 1 year ago

Its JS, yeah I've seen that one before. I think the one I'm building is much easier to configure and a little more useful.

I've got the entire thing done except 2 POST API calls to Lemmy, one for the login and one for posting to a community. That and testing. I'll publish it and let you know immediately when it's done. I would copy code from my Lemmy test suite but that uses websockets and Lemmy is getting rid of those, plus I don't like websockets, especially for a bot. It shouldn't take me more than an hour if I can pry that time away from my suddenly very busy life lol