{"id":17854064,"url":"https://github.com/rednexie/pastecord","last_synced_at":"2026-04-17T10:03:42.978Z","repository":{"id":233756492,"uuid":"784821848","full_name":"Rednexie/pastecord","owner":"Rednexie","description":"a web app for sharing texts, uses discord as a database.","archived":false,"fork":false,"pushed_at":"2024-12-21T16:45:26.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T17:21:54.911Z","etag":null,"topics":["api","discord","node","paste","pastebin","self-hosted","server","share","text"],"latest_commit_sha":null,"homepage":"","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rednexie.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-10T16:14:13.000Z","updated_at":"2025-02-13T07:50:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"63d114b0-dfae-4002-888d-6c144307cce2","html_url":"https://github.com/Rednexie/pastecord","commit_stats":null,"previous_names":["rednexie/pastecord"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rednexie/pastecord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rednexie%2Fpastecord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rednexie%2Fpastecord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rednexie%2Fpastecord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rednexie%2Fpastecord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rednexie","download_url":"https://codeload.github.com/Rednexie/pastecord/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rednexie%2Fpastecord/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264292952,"owners_count":23586063,"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":["api","discord","node","paste","pastebin","self-hosted","server","share","text"],"created_at":"2024-10-28T00:41:43.224Z","updated_at":"2025-10-30T08:07:10.604Z","avatar_url":"https://github.com/Rednexie.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pastecord\r\nA fullstack web application to make discord store the texts you share.\r\n\r\n\r\nPastecord is a web application is both available with a nice-looking frontend and json rest api.\r\n\r\n\r\n## Features\r\n\r\n- Desktop and mobile responsiveness.\r\n\r\n- Extremely fast server, since its built using Fastify.\r\n\r\n- No storage or database required, it stores the 'pastes' in discord's servers.\r\n\r\n- Configured to work on docker containers.\r\n\r\n- Compatible with all versions of Node.js since v16.11.0\r\n\r\n## Usage\r\n\r\n### Web\r\n\r\nYou can visit the pages to use Pastecord with any web browser.\r\n\u003cbr\u003e\r\n\r\n/ =\u003e Create pastes to get the share id's of them.\r\n\r\n\r\n\r\n/search =\u003e Get the pastes with their paste id's.\r\n\r\n### API\r\n\r\nAPI Endpoints of Pastecord accepts data as application/x-www-form-urlencoded.\r\n\u003cbr\u003e\r\n\r\n\r\nPOST /api/ =\u003e Send a post request including a text field with a string value to create a paste.\r\n\r\nPOST /search/ =\u003e Send a post request including an id field with a string value to get a paste's content.\r\n\r\n\r\n## Setup Instructions\r\n\r\nYou have to install [Node](https://nodejs.org) to run Pastecord.(and also npm)\r\n\r\n```bash\r\nsudo apt install nodejs npm -y\r\n```\r\n\r\n\r\n\r\nFirstly, you have to get the repository to your computer or a cloud device. You can do this by choosing one of the options below.\r\n\r\n\r\nAfter getting the code downloaded, you have to open a terminal in the main directory of the project. On windows, this can be done by typing cmd to the file path and pressing enter after opening the folder with file explorer. Or if you are on a linux environment (this also works for windows powershell etc.) you can just use the cd command to get into the project folder.\r\n\r\n\r\nExample:\r\n```bash\r\ngit clone https://github.com/Rednexie/pastecord\r\ncd pastecord\r\n```\r\n\r\n\r\nAfter opening a terminal, you should install the required node.js modules with npm:\r\n\r\n```bash\r\nnpm i\r\n```\r\n\r\n\r\n*You need a discord server and a discord bot(preferably with admin privileges). You can then copy and paste the channel id's and your bot's application token inside config.json or .env*\r\n\r\n\r\nAnd lastly when the installation is done, you can go ahead and run the project:\r\n\r\n```\r\nnode .\r\n```\r\n\r\n\r\n\r\n\r\n## Links\r\n[Download as Zip](https://github.com/Rednexie/pastecord/archive/refs/heads/main.zip)\r\n\r\n\r\n[Clone with git](https://gist.github.com/Rednexie/fb81fd8df10ca0dc2abaf24a0cfa2082)\r\n\r\n\r\n[Run on Replit](https://repl.it/github/Rednexie/pastecord)\r\n\r\n\r\n[Import into Glitch](https://glitch.com/edit/#!/import/git?url=https://github.com/Rednexie/pastecord)\r\n\r\n\r\n[Create Github Codespace](https://github.com/codespaces/new?quickstart=1\u0026name=pastecord\u0026repo=Rednexie/pastecord)\r\n\r\n\r\n[Import into CodeSandbox](https://codesandbox.io/p/github/Rednexie/pastecord)\r\n\r\n\r\n## Possible Updates\r\n\r\n- Rate Limiting\r\n\r\n- Delete and Update Pastes\r\n\r\n- Authorization and accounts\r\n\r\n- Logging\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frednexie%2Fpastecord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frednexie%2Fpastecord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frednexie%2Fpastecord/lists"}