mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

@aral what... that is... awesome haha! So what happens under water?

Will kitten run do a clone and all the setup before serving it on localhost (and just not showing you the steps basically)?

(also what happens when you try it with just a random repository? 🙈

Aral Balkan

@ff0000 Yep, that’s all it does. There is no setup apart from the clone (Kitten is very simple).

If you do it with a random repository, Kitten will still clone it and try to serve it. Just as if you ran it on a random folder on your machine.

(Basically, the run command is the little brother of the deploy command that deploys a git repository as a systemd service. The run command runs it as a regular process as you would during dev. And you can actually go to where it cloned it and dev on it.)

@aral that is pretty nifty!

How would the cleanup work? If you would say run kitten run on a bunch of repositories?

@ff0000 They’re all just cloned to ~/.local/share/small-tech.org/kitten/clones (e.g., ~/.local/share/small-tech.org/kitten/clones/codeberg.org.aral.fetchiverse)

So just a quick rm -rf should do the trick ;)

(Just nuke individual folders or the clones folder entirely.)

@ff0000 (And given all the Small Web / peer to peer features in Kitten are enhancements on a plain old web server, you can take any static site repo, if you wanted to, and run that command to test it locally. Or run the deploy command and have a production server running it.)

@aral that makes it super quick and useful, to just preview something with kitten.

Nice stuff :)

@ff0000 That’s the idea ;)

(And thanks) 💕