Soon you’ll be able to run any Kitten app directly from a git repository*
35 second demo:
* e.g., kitten run https://codeberg.org/aral/fetchiverse.git
@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?
@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.)
@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)