{"id":23329100,"url":"https://github.com/neo-vortex/termbinsharp","last_synced_at":"2026-05-05T11:33:52.652Z","repository":{"id":195758113,"uuid":"693595826","full_name":"Neo-vortex/TermbinSharp","owner":"Neo-vortex","description":"A Project aims to replicate termbin.com with REST API with aspnet core.","archived":false,"fork":false,"pushed_at":"2023-09-21T09:09:43.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T08:59:08.725Z","etag":null,"topics":["dotnet-core","high-performance","pastbin-clone","rest-api","sqlite"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Neo-vortex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-09-19T10:41:30.000Z","updated_at":"2023-09-21T08:47:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"191ebe70-99ca-4ccf-a2b7-9d35bc110ad6","html_url":"https://github.com/Neo-vortex/TermbinSharp","commit_stats":null,"previous_names":["neo-vortex/termbinsharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Neo-vortex/TermbinSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-vortex%2FTermbinSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-vortex%2FTermbinSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-vortex%2FTermbinSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-vortex%2FTermbinSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Neo-vortex","download_url":"https://codeload.github.com/Neo-vortex/TermbinSharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-vortex%2FTermbinSharp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265678836,"owners_count":23810120,"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":["dotnet-core","high-performance","pastbin-clone","rest-api","sqlite"],"created_at":"2024-12-20T21:32:04.788Z","updated_at":"2026-05-05T11:33:52.602Z","avatar_url":"https://github.com/Neo-vortex.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":" \n## TermbinSharp\ntermbinSharp is a high-performance server application that mimics the functionality of termbin.com. It allows you to host your own private pastebin service for sharing text snippets securely and efficiently. With built-in caching, it provides fast and reliable text sharing.\n\n## Features\n* Self-Hosted: Run your own pastebin server and have full control over your data and content.\n\n* Caching: termbinSharp caches uploaded text snippets, reducing server load and improving response times.\n\n* Secure: Designed with security in mind, ensuring the integrity of shared text.\n  \n* SQLITE: Everything is saved and read via SQLITE.\n\n* No Duplication: if a data is set before it will return the url for the already set data\n\n\n*** you can set `useInMemoryDatabase` env variable to force the server to use in memory database, it won't be persistent but won't generate anything on the disk***\n\n## Using the TermbinSharp Server\nTermbinSharp provides a straightforward API for uploading and retrieving text snippets. You can interact with the server using HTTP requests. Here's a guide on how to use the TermbinSharp server:\n\n### Uploading Text Snippets\nTo upload a text snippet to the TermbinSharp server, you can make a POST request to the /data/set endpoint. The text snippet should be included in the request body as a JSON string. Here's an example using curl:\n\n```\ncurl -X POST -H \"Content-Type: application/json\" -d \"This is my text snippet\" http://your-server-address/data/set\n```\nReplace http://your-server-address with the actual address where your TermbinSharp server is running. Upon successful upload, the server will respond with a 200 OK status with the corresponding direct url to retrive the data later.\n\n### Retrieving Text Snippets\nTo retrieve a previously uploaded text snippet, you can make a GET request to the / endpoint followed by the snippet's unique identifier (path). For example:\n\n```\ncurl http://your-server-address/abc123\n```\nReplace abc123 with the actual unique identifier of the text snippet you want to retrieve. If the snippet exists, the server will respond with a 200 OK status and the content of the text snippet in the response body.\n\n### docker\nyou can use docker file to build and run the project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-vortex%2Ftermbinsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo-vortex%2Ftermbinsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-vortex%2Ftermbinsharp/lists"}