{"id":13929204,"url":"https://github.com/AIndoria/volumen","last_synced_at":"2025-07-19T11:31:06.628Z","repository":{"id":60202610,"uuid":"515334264","full_name":"AIndoria/volumen","owner":"AIndoria","description":"a personalized instance of termpad, self-hosted pastebin.","archived":false,"fork":true,"pushed_at":"2023-01-18T15:24:47.000Z","size":143,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-26T18:40:16.445Z","etag":null,"topics":["pastebin","pastebin-api","pastebin-client","pastebin-service"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"SpyrosRoum/termpad","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AIndoria.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-18T20:38:10.000Z","updated_at":"2024-08-23T13:13:42.000Z","dependencies_parsed_at":"2023-02-10T15:45:14.811Z","dependency_job_id":null,"html_url":"https://github.com/AIndoria/volumen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AIndoria/volumen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AIndoria%2Fvolumen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AIndoria%2Fvolumen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AIndoria%2Fvolumen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AIndoria%2Fvolumen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AIndoria","download_url":"https://codeload.github.com/AIndoria/volumen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AIndoria%2Fvolumen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265926920,"owners_count":23850886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pastebin","pastebin-api","pastebin-client","pastebin-service"],"created_at":"2024-08-07T18:02:10.790Z","updated_at":"2025-07-19T11:31:06.356Z","avatar_url":"https://github.com/AIndoria.png","language":"Rust","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# volumen\n\nvolumen is a fork of [termpad](https://github.com/SpyrosRoum/termpad); However, I have my own improvements running on it.\nvolumen allows you to easily host a pastebin server for saving and viewing text right from the terminal, or the browser.\n\n\n## Changes\n\n* First line defines what type of syntax the rest of the paste highlights to. Eg, doing a #text will not highlight anything because the software will treat it as just plaintext.\n\n* Longform content no longer has horizontal scroll bars and now wraps correctly.\n\n* Changed highlight colors to not kill my eyes.\n\n## Client Usage\n\nCreate a fish function\n\n  place this as volumen.fish into your ~/.config/fish/functions folder):\n\n```\nfunction volumen\n  curl --data-binary @/dev/stdin https://volumen.civitat.es\nend\n```\n\nThen just do, `$ cat reasonsGermansSuck.file | volumen`;\n\nAssuming volumen is running in localhost:8000 you can do this to save text using cURL:  \n```shell\n$ curl -d \"Hello world\" localhost:8000\nhttp://localhost/DullMagnificentLock\n$ # Or\n$ curl --data-binary @path/to/file localhost:8000\nhttp://localhost/BrightAliveMotorcycle\n```\n\nAnd this to retrieve saved text:\n```shell\n$ curl localhost:8000/raw/TenderCheerfulYacht\n$ # You might optionally want to pipe the output to a pager like less\n$ curl localhost:8000/raw/TenderCheerfulYacht | less\n```\n\nOr this for [HTTPie](https://httpie.io/):\n```shell\n$ echo \"Hello World\" | http POST localhost:8000\nhttp://localhost/DullMagnificentLock\n$ # Or for files:\n$ http POST localhost:8000 \u003c path/to/file\nhttp://localhost/BrightAliveMotorcycle\n```\nAnd to get text it's the same as cURL:\n```shell\n$ http localhost:8000/raw/TenderCheerfulYacht\n# Or with a pager\n$ http localhost:8000/raw/TenderCheerfulYacht | less\n```\n\nNote the `/raw/` in the url, without it you will get html output\n\n\n## Server Usage\n### Note that environment variables are checked before assigning the default value.\n### Domain (`-d` or `--domain`, env = `DOMAIN`)\nUsed to construct the url returned to the user. `http` is added as a prefix (Default: `localhost`)\n```shell\n$ volumen -d example.com\n```\nThis will return urls like: `http://example.com/BrightAliveMotorcycle`\n\n### Port (`-p` or `--port`, env = `PORT`)\nSet the port on which the app runs (Default: `8000`)\n```shell\n$ volumen -p 8043\n```\n\n### Output (`-o` or `--output`, env = `OUTPUT`)\nRelative or absolute path to the directory where you want to store user-posted pastes (Default: `~/.local/share/volumen/`)\n```shell\n$ volumen -o /home/www/pastes/\n```\n\n### https (`--https`, env = `HTTPS`)\nIf set, urls will start with `https` instead of `http`\n```shell\n$ volumen --https\n```\n\n\n### Delete files (`--delete-after`, env = `DELETE_AFTER`)\nHow many days to keep files for. If set to `0` it will keep them forever (Default: `120`)\n```shell\n$ volumen --delete-after 60\n```\n\n## Install\n### From source:\n```shell\n$ git clone https://github.com/aindoria/volumen.git\n$ cd volumen\n$ cargo build --release\n$ ./target/release/volumen\n```\n\n### From cargo:\n```shell\n$ cargo install volumen\n```\n\n### With docker-compose:\nEither `wget https://raw.githubusercontent.com/aindoria/volumen/master/docker-compose.yml` or copy the following into `docker-compose.yml`\n```\nversion: \"3.4\"\n\nservices:\n  app:\n    image: aindoria/volumen\n    ports:\n      - 8000:8000\n    environment:\n      - DOMAIN_NAME=example.com\n      - HTTPS=true\n    volumes:\n      - data:$HOME/.local/share/volumen/\n    restart: always\n\nvolumes:\n  data:\n    name: volumen\n```\nand then `docker-compose up -d`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAIndoria%2Fvolumen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAIndoria%2Fvolumen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAIndoria%2Fvolumen/lists"}