Skip to content

Latest commit

 

History

History
114 lines (77 loc) · 2.67 KB

README.md

File metadata and controls

114 lines (77 loc) · 2.67 KB

pico.sh - hacker labs

Important

Read our docs at pico.sh.

Open source and managed web services leveraging SSH.

The secret ingredient to all our services is how we let users publish content without needing to install anything. We accomplish this with the SSH tools you already have installed on your system.

Want to publish a blog post? Use rsync, scp, or sftp. Want to publish a website? Use rsync, scp, or sftp. Want to share a code snippet with a colleague? Use rsync, scp, or sftp. Hopefully you see the trend.

  • tuns: https/wss/tcp tunnels to localhost using only
  • pages: A static site hosting platform using SSH for site deployments. SSH.
  • pipes: Authenticated *nix pipes over SSH
  • prose: A blog platform using SSH for content management.
  • pastes: Upload code snippets using rsync, scp, and sftp.
  • feeds: An RSS email notification service using SSH.

Deploy a site with a single command

Upload your static site to us:

rsync -rv ./public/ pgs.sh:/mysite/

Now your site is available with TLS handled for you: https://{user}-mysite.pgs.sh We also automatically handle TLS for your custom domains!

Access localhost using https

if you have a local webserver on localhost:8000, activate an SSH tunnel to us:

ssh -R dev:80:localhost:8000 tuns.sh

Now your local dev server is availble on the web: https://dev.tuns.sh

Authenticated *nix pipes over ssh

Have one terminal listen for an event and another terminal send the event:

# term 1
ssh pipe.pico.sh sub mytopic
# term 2
echo "Hello world!" | ssh pipe.pico.sh pub mytopic

The sub will receive "Hello world!"

Publish blog articles with a single command

Create your first post, (e.g. hello-world.md):

# hello world!

This is my first blog post.

Cya!

Upload the post to us:

scp hello-world.md prose.sh:/

Congrats! You just published a blog article, accessible here: https://{user}.prose.sh/hello-world

Easily share code snippets

Pipe some stdout to us:

git diff | ssh pastes.sh changes.patch

And instantly share your code snippets: https://{user}.pastes.sh/changes.patch

Receive email notifications for your favorite rss feeds

Create a blogs.txt file:

=: email [email protected]
=: digest_interval 1day
=> https://pico.prose.sh/rss
=> https://erock.prose.sh/rss

Then upload it to us:

scp blogs.txt feeds.pico.sh:/

After the daily interval has been reached, you will receive an email with your feeds!

Ready to join?

https://pico.sh/getting-started