Skip to content

ozcanyarimdunya/sahibin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sahibin

Sahibin is an online platform that allows users to store and share plain text snippets or code snippets. It provides a simple interface where users can paste their text and generate a unique URL for the paste. The generated URL can then be shared with others for viewing or collaboration.

Install & Run locally

Webserver (backend)

Installation

$ make install-webserver

Running

$ make run-webserver

Webui (frontend)

Installation

$ make install-webui

Running

$ make run-webui

Deployment

Docker

make update version=x.x.x
make run-docker

Check this link http://localhost:8000/.

CLI

Installation

$ sudo curl -k http://0.0.0.0:8000/sahibin -o /usr/local/bin/sahibin
$ sudo chmod +x /usr/local/bin/sahibin

Create a new paste by providing content directly.

$ sahibin "Hello, my name is $(whoami)!"
http://0.0.0.0:8000/share/abc123

Create a new paste by providing content via stdin.

$ cat /tmp/test.txt | sahibin
http://0.0.0.0:8000/share/xyz321

Create a new paste by providing expire days.

$ sahibin -e 10 'Expire in 10 days'
http://0.0.0.0:8000/share/xyz321

Create a new paste by providing title.

$ sahibin -t 'simple title'
http://0.0.0.0:8000/share/xyz321

Screenshots

Home Page Share Page
img.png img_1.png
History Page Sahibin CLI
img_2.png img_3.png

@ozcanyarimdunya

About

Sahibin is an online platform that allows users to store and share plain text snippets or code snippets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published