Content-Length: 366174 | pFad | http://github.com/mayocream/pastebin-ipfs

E9 GitHub - mayocream/pastebin-ipfs: ๐ŸŒ (Web 3.0) Pastebin built on IPFS, securely served by Distributed Web and Edge Network.
Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
/ pastebin-ipfs Public archive

๐ŸŒ (Web 3.0) Pastebin built on IPFS, securely served by Distributed Web and Edge Network.

License

Notifications You must be signed in to change notification settings

mayocream/pastebin-ipfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

pastebin-ipfs

go node docker deploy

็ฎ€ไฝ“ไธญๆ–‡

(IPFS Archivists)

Still in development, Pull Requests are welcomed.

Pastebin built on IPFS, securely served by Distributed Web and Edge Network.

It's like gist but for anonymous. Alternative to Ubuntu Pastebin.

paste.shoujo.io

Features

  • Stored in IPFS distributed network
  • AES-GCM Encryption
  • OpenAPI (CORS Origin *)
  • File upload (API Only)
  • Cache by CDN (or IPFS Gateway)
  • Syntax highlight by Prismjs
  • Markdown Preview
  • No Expiration

Usage

Web

Webpage serves Gallery and provide GUI to paste your snippets.

Vist Webpage.

API

API Docs: OpenAPI v3 - Swagger UI

Pastebin it has a rate limit at 20 qps.

Terminal

Create snippets:

$ curl -T doc.md https://paste.shoujo.io/api/v0/ # remember to have a slash '/' at the end
# or
$ curl -X POST https://paste.shoujo.io/api/v0/ -d 'ใ„ใคใ‹ๅ›ใซไผใˆใŸใ„ใจๆ€ใฃใฆใ„ใŸๆฐ—ๆŒใกใฏ'
# or
$ curl -X PUT https://paste.shoujo.io/api/v0//lyrics.txt -d 'Stars fall, birds sleep'

Cat snippets:

curl https://paste.shoujo.io/api/v0/QmTnhJH8azDsudkxgp8wNLEN5Zq86NAE6DAkzwGBDpaQ6Z/plain.txt

Self-Hosted

Kubernetes

Deploy pastebin-ipfs with Helm.

git clone https://github.com/mayocream/pastebin-ipfs
cd pastebin-ipfs/helm
helm install pastebin-ipfs .

Refer values.yaml for more detail.

Docker Compose

Edit deploy/docker/docker-compose.yml file.

docker-compose up -d

Docker

You must have ipfs-daemon running on your host first.

Check out IPFS docker-compose.yml.

docker run -p 8080:3939 mayocream/pastebin-ipfs:latest

Development

make run # start ipfs daemon at http://127.0.0.1:5001
         # run pastebin API at http://127.0.0.1:3939
make web-live # run Webpage

Feedback

You can provide suggestion or ask question by open a Github Issue in any languages. ๐Ÿง

Topic

Discuss about this project!

Reddit - Pastebin built on IPFS, alternative to Ubuntu Pastebin

V2EX - ๆˆ‘ๅšไบ†ไธ€ไธชๅŽปไธญๅฟƒๅŒ–็š„ Pastebin๏ผŒ Ubuntu Pastebin ็š„ๆ›ฟไปฃๅ“

Todo

Credits

LICENSE

MIT

About

๐ŸŒ (Web 3.0) Pastebin built on IPFS, securely served by Distributed Web and Edge Network.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/mayocream/pastebin-ipfs

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy