{"repo":"SpyrosRoum/termpad","free":true,"listed":false,"github":"https://github.com/SpyrosRoum/termpad","clone":"git clone https://github.com/SpyrosRoum/termpad.git","description":"A (self hosted) pastebin for easily sharing text right from the terminal","language":"Rust","stars":42,"topics":[],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"termpad termpad allows you to easily host a pastebin server for saving and viewing text right from the terminal, or the browser. Client Usage Assuming termpad is running in localhost:8000 you can do this to save text using cURL: And this to retrieve saved text: Or this for HTTPie: And to get text it's the same as cURL: Note the /raw/ in the url, without it you will get html output Server Usage Note that environment variables are checked before assigning the default value. Domain (env = DOMAIN ) Used to construct the url returned to the user. http/s is added as a prefix (Default: localhost ) For example DOMAIN=example.com will return urls like: http://example.com/BrightAliveMotorcycle Port (env = PORT ) Set the port on which the app runs (Default: 8000 ) Output (env = OUTPUT ) Relative or absolute path to the directory where you want to store user-posted pastes (Default: /.local/share/termpad/ ) https (env = HTTPS ) If set, urls will start with https instead of http Delete files (env = DELETE AFTER ) How many days to keep files for. If set to 0 it will keep them forever (Default: 120 ) Install From source: From cargo: With docker-compose: and then docker-compose up -d","default_branch":null,"files":null,"tree":[],"storefront":"/r/SpyrosRoum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SpyrosRoum/termpad/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}