this post was submitted on 02 Jul 2023
34 points (97.2% liked)
Brisbane
951 readers
8 users here now
Home of the bin chicken. Visit our friends:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Are you able to tell me what app and how you actually run it? Having code is great, but no one seems able/willing to tell me what to actually do with the code. I have been running it in Visual Script on my laptop which works for a while but not for long. I've also been trying to use Vercel to run from their server, but I can only get it to run there in build mode (which is time limited) and not transfer it to an ongoing cron job.
I've cleaned up my code and checked it in here: https://github.com/dfrencham/lemmy-post-bot
I use Visual Studio code (I run it using the Linux subsystem for windows).
I've put instructions in the README.md file, and cron setup instructions in the SETUP_CRON.md file.
If you are not setup to build the bot, then I can create a built version and post a .tar.gz file for you to use.
Thank you, that is a lot simpler than the code I was using. Although I have miraculously got mine to work now, so will probably stick with that rather trying to redo it at this point, at least for now. It's been a steep learning curve, but I am starting to somewhat understand what I am looking at with the code now, so that's something!
Great to hear it is working :) always a great feeling.
I've updated my code to output a single .js file which can be called with node. The file is in a zip here: github
If you have a look at the code updates, you might find feature/unfeature code useful. :)
Fabulous, I'll have a look.
I enjoyed this and it was very wholesome. Well done you two.
<3