possible free vps'es out of common sites (dead from 2023 december due to update of replit rules)

EDIT: REPL.IT SAW THIS POST AND TO THE END OF THIS YEAR WILL FULLY BLOCK THIS METHOD

it's probably the end of this post usability sadly :(

for a longer time i host few discord bots and pages for free without vps or home server.
and as far i saw there are 2 methods to make pages interactive (with a database or automatic updates) or just to mess up with someone computer (eg - to learn other operating systems)
first method (best one) uses both github and replit websites
second method (good one) uses only github

github+replit method

pros:
  • full computer available running on nixOS
  • enough stable to host social media robot
  • allows all file types as its almost vps
  • have instant command line
cons:
  • requires lots of setup
  • requires more than one account
  • requires few websites running (might be also a feature)
how to?
firstly make both accounts over replit and github (if you didnt made yet)
create a project on replit with a website, run it and copy its url from embedded browser
use this repository template on github : link to repo and set it up using links to webpage above
why does it require github automation? to keep up code on replit for free it needs constant activity and most (if not all) uptime checkers just banned such setup over replit. github cant block a domain unlike them so we can freeily use it
run project (and dont stop it)

github-only method

pros:
  • requires only one account
  • accepts all file types
  • ability to choose operating system machine runs on
cons:
  • need to wait until an action is done (laggy)
  • doesnt have command line
  • need additinal set up if hosting a page
  • cant HOST php websites (although it can run javascript code with http requests to github from pages what makes it able to self-update)
how to?
just create a repository and create manually an action doing whatever you want. full how to here: github actions documentation

Comments