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.

Webserver (backend)

Installation

$ cd webserver
$ poetry install

Run

$ cd webserver
$ uvicorn main:app --reload

Webui (frontend)

Installation

$ cd webui/
$ yarn install

Run

$ cd webserver
$ yarn run dev

Docker

docker compose up -d --build

Check the http://localhost:8000/.

Kubernetes

Create a new namespace named s-sahibin.

Apply the resources

kubectl apply -f kubernetes/database.yaml
kubectl apply -f kubernetes/webserver.yaml
kubectl apply -f kubernetes/webui.yaml

Screenshots

Empty

With data

GitHub

View Github