I just want to interact with my app on Termux plz
Hi!
You can install Snail via NPM, do npm i -g glitch-snail
(on Termux) and you should be able to get a snail
command that lets you interact with your Glitch project.
Checkout the guide and docs on how to use Snail.
For example,
how to login
The easiest way to login is to go to glitch.com/signin and choose the Email Magic Link option. Once the magic code arrives in your email, you copy the login code and run
$ snail auth code [the login code here]
in the terminal where Snail is installed (Termux, in our case)
After that, run
$ snail whoami
to ensure you’ve logged in successfully, as it should show your Glitch username when you type that in.
~ $ snail whoami
khalby786
Now, you’re able to do cool things with Snail.
For example, if I run snail project info -p <project-name>
, it’ll show that project’s details.
The guide has a full tutorial on what you can do with Snail.
And what node version do i need??
>=10 for snail
edit: later versions may increase this