malai-0.2.5
is out now!
It brings a new feature to share your local TCP server with the world!
malai http
.malai
today using:curl -fsSL https://malai.sh/install.sh | sh
$ malai tcp 5432 --public
Malai: Sharing port 5432
Run malai tcp-bridge <id52> <some-port>
to connect to it from any machine.
$ malai tcp-bridge <id52> 9091
Listening on 127.0.0.1:9091
localhost:9091
and it'll go through malai
and
connect to the exposed service.You can even use malai tcp
to expose your local SSH server for remote access — without opening port 22 publicly.
systemctl status sshd
$ malai tcp 22 --public
Malai: Sharing port 5432
Run malai tcp-bridge <id52> <some-port>
to connect to it from any machine.
$ malai tcp-bridge <id52> 9090
<id52>
with the ID printed by the malai tcp
command. Once the
bridge is running, SSH into your machine like this:ssh -p 9090 user@localhost
localhost:9090
, which is where the tcp-bridge
is
listening. It forwards your SSH traffic to the original machine via the Kulfi
network. Make sure to use the correct user
that exists on the remote machine.malai tcp
, check out the documentation.malai folder
command to share a folder with everyone.
This is similar to malai http
but it serves your local files and folders.
This is more like a call for testing than launching a new feature. Try it out
and give us feedback!malai folder
Example$ malai folder ~/projects/fastn/assets/ --public
Serving "/Users/siddhant/projects/fastn/assets" on http://127.0.0.1:59136
Malai: Sharing http://127.0.0.1:59136 at
https://pubqaksutn9im0ncln2bki3i8diekh3sr4vp94o2cg1agjrb8dhg.kulfi.site
To avoid the public proxy, run your own with: malai http-bridge
Or use: malai browse kulfi://pubqaksutn9im0ncln2bki3i8diekh3sr4vp94o2cg1agjrb8dhg
malai
We're just getting started, and your support means a lot.
If you like what we're building, consider starring the repo on GitHub. It helps others discover the project and keeps us motivated to build more!