Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/picosh/pico
hacker labs - open source and managed web services leveraging SSH
https://github.com/picosh/pico
Last synced: 4 days ago
JSON representation
hacker labs - open source and managed web services leveraging SSH
- Host: GitHub
- URL: https://github.com/picosh/pico
- Owner: picosh
- License: mit
- Created: 2022-08-24T03:14:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T18:31:38.000Z (13 days ago)
- Last Synced: 2024-10-29T20:37:38.261Z (13 days ago)
- Language: Go
- Homepage: https://pico.sh
- Size: 4.21 MB
- Stars: 793
- Watchers: 4
- Forks: 28
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - picosh/pico - hacker labs - open source and managed web services leveraging SSH (Go)
README
# pico.sh - hacker labs
> [!IMPORTANT]\
> Read our docs at [pico.sh](https://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://pico.sh/tuns): https/wss/tcp tunnels to localhost using only
- [pages](https://pico.sh/pgs): A static site hosting platform using SSH for
site deployments. SSH.
- [pipes](https://pipe.pico.sh): Authenticated `*nix` pipes over SSH
- [prose](https://pico.sh/prose): A blog platform using SSH for content
management.
- [pastes](https://pico.sh/pastes): Upload code snippets using rsync, scp, and
sftp.
- [feeds](https://pico.sh/feeds): An RSS email notification service using SSH.## Deploy a site with a single command
Upload your static site to us:
```bash
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:
```bash
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:
```bash
# 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`):
```md
# hello world!This is my first blog post.
Cya!
```Upload the post to us:
```bash
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:
```bash
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:
```bash
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