{"id":16612921,"url":"https://github.com/ttys3/sweetpaste","last_synced_at":"2026-02-02T04:11:06.998Z","repository":{"id":101550845,"uuid":"398696421","full_name":"ttys3/sweetpaste","owner":"ttys3","description":"A sweet n' simple pastebin with syntax highlighting and no client-side code!","archived":false,"fork":false,"pushed_at":"2021-08-21T20:25:31.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-15T10:07:56.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttys3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-22T02:23:45.000Z","updated_at":"2021-08-22T02:23:46.000Z","dependencies_parsed_at":"2023-06-05T10:45:40.916Z","dependency_job_id":null,"html_url":"https://github.com/ttys3/sweetpaste","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ttys3/sweetpaste","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fsweetpaste","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fsweetpaste/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fsweetpaste/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fsweetpaste/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttys3","download_url":"https://codeload.github.com/ttys3/sweetpaste/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fsweetpaste/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29004697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"online","status_checked_at":"2026-02-02T02:00:07.448Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-12T01:45:20.938Z","updated_at":"2026-02-02T04:11:06.985Z","avatar_url":"https://github.com/ttys3.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# sweetpaste\n\nsweetpaste is a sweet n' simple pastebin server. It's completely server-side, with *zero* client-side code.\n\n## Configuration\n\nThe configuration will be loaded from a file named `config.toml` in the working directory.\n\n| Config Option                       | Description                                                                                                       | Default                 |\n| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------- |\n| `address`                           | The address to bind to.                                                                                           | `127.0.0.1:8080`        |\n| `site-url`                          | The base URL of the site to bind to. Should *not* contain a trailing slash!                                       | `http://127.0.0.1:8080` |\n| `public`                            | Whether this instance is public or not. If this is false, the password is needed to submit pastes.                | `false`                 |\n| `static-dir`                        | The directory to serve static files from. These take priority over pastes!                                        | None                    |\n| `paste-limit`                       | The maximum size, in bytes, of a single paste.                                                                    | 8 MB                    |\n| `cache-limit`                       | The maximum size, in bytes, of the in-memory cache, used to avoid re-rendering pastes.                            | 64 MB                   |\n| `db-path`                           | The path to the SQLite database file.                                                                             | `sweetpaste.db`         |\n| `password`                          | A password, used for uploading on non-public instances, and deleting *any* paste.                                 | `secret`                |\n| `id-key`                            | The 32-byte encryption key used to encrypt the paste ID. sweetpaste will *refuse to start* if this is all zeroes! | `0000...`               |\n| `trusted-ips`                       | A list of IP addresses which will be trusted to provide `X-Real-IP`/`X-Forwarded-For` headers                     | `[\"127.0.0.1\", \"::1\"]`  |\n| `syntax-highlighting.theme`         | The theme to use for syntax highlighting                                                                          | `base16-eighties.dark`  |\n| `syntax-highlighting.themes-folder` | The folder to load `.tmTheme` files from                                                                          | None                    |\n| `syntax-highlighting.syntax-folder` | The folder to load `.tmLanguage` files from                                                                       | None                    |\n\n\nAll code is licensed under the [MPLv2 License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys3%2Fsweetpaste","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttys3%2Fsweetpaste","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys3%2Fsweetpaste/lists"}