{"id":26604104,"url":"https://github.com/helmare/snapcord","last_synced_at":"2025-03-23T19:28:20.682Z","repository":{"id":276569183,"uuid":"929660176","full_name":"Helmare/snapcord","owner":"Helmare","description":"A Discord bot to turn text channels into a Snapchat-style chats, where messages are deleted after 24 hours. You can save messages by reacting with 💾.","archived":false,"fork":false,"pushed_at":"2025-02-16T19:47:33.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T20:18:48.936Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Helmare.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":"2025-02-09T04:16:14.000Z","updated_at":"2025-02-16T19:47:37.000Z","dependencies_parsed_at":"2025-02-11T23:31:01.142Z","dependency_job_id":null,"html_url":"https://github.com/Helmare/snapcord","commit_stats":null,"previous_names":["helmare/snapcord"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Helmare%2Fsnapcord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Helmare%2Fsnapcord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Helmare%2Fsnapcord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Helmare%2Fsnapcord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Helmare","download_url":"https://codeload.github.com/Helmare/snapcord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245156879,"owners_count":20569929,"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":[],"created_at":"2025-03-23T19:28:20.255Z","updated_at":"2025-03-23T19:28:20.656Z","avatar_url":"https://github.com/Helmare.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snapcord\n\nTurns text channels into a Snapchat-style chats, where messages are deleted after 24 hours. You can save messages by reacting with 💾.\n\nClick [install](https://discord.com/oauth2/authorize?client_id=1337983783864893450) to add it to your server 😊\n\n## Features\n\n- Automatically deletes old messages.\n- Set how long messages last in the channel.\n- Messages reacted with 💾 are saved.\n\n## Commands\n\n### `/enable`\n\nEnables Snapcord in a channel with a specified duration.\n\n| Option     | Required | Description                                    |\n| ---------- | -------- | ---------------------------------------------- |\n| `duration` | yes      | Amount of time before messages are deleted.    |\n| `channel`  | no       | Which channel to enable (this one by default). |\n\n### `/disable`\n\nDisables Snapcord in a channel.\n\n| Option    | Required | Description                                     |\n| --------- | -------- | ----------------------------------------------- |\n| `channel` | no       | Which channel to disable (this one by default). |\n\n### `/status`\n\nReplies whether or not Snapcord is enabled in a channel.\n\n| Option    | Required | Description                                    |\n| --------- | -------- | ---------------------------------------------- |\n| `channel` | no       | Which channel to enable (this one by default). |\n\n## Local Install\n\n### Requirements\n\n- Node.js (latest LTS version recommended)\n- A Discord bot token\n- A PostgreSQL database hosted on Neon\n\n### Installation\n\n1. Clone this repository:\n\n   ```sh\n   git clone https://github.com/Helmare/snapcord.git\n   cd snapcord\n   ```\n\n2. Install dependencies:\n\n   ```sh\n   npm install\n   ```\n\n3. Create a `.env` or `.env.development` file and add the following:\n\n   ```env\n   SLEEP_DURATION=60000\n   DISCORD_CLIENT_TOKEN='your-token'\n   DATABASE_URL='your-database-url'\n   ```\n\n4. Start the bot:\n   ```sh\n   npm run dev\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelmare%2Fsnapcord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelmare%2Fsnapcord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelmare%2Fsnapcord/lists"}