{"id":28419361,"url":"https://github.com/deeplcom/slackbot-example","last_synced_at":"2025-06-27T04:31:39.752Z","repository":{"id":290988753,"uuid":"923556348","full_name":"DeepLcom/slackbot-example","owner":"DeepLcom","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-30T15:32:28.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-22T23:42:02.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeepLcom.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,"zenodo":null}},"created_at":"2025-01-28T13:14:07.000Z","updated_at":"2025-04-30T15:33:24.000Z","dependencies_parsed_at":"2025-05-01T18:50:13.658Z","dependency_job_id":"c1d15838-b280-4cec-b0f7-282b1aaa786c","html_url":"https://github.com/DeepLcom/slackbot-example","commit_stats":null,"previous_names":["deeplcom/slackbot-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DeepLcom/slackbot-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLcom%2Fslackbot-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLcom%2Fslackbot-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLcom%2Fslackbot-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLcom%2Fslackbot-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeepLcom","download_url":"https://codeload.github.com/DeepLcom/slackbot-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeepLcom%2Fslackbot-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262188396,"owners_count":23272341,"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-06-04T17:30:38.745Z","updated_at":"2025-06-27T04:31:39.737Z","avatar_url":"https://github.com/DeepLcom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepL Slack Translation Bot\n\n[![License: MIT](https://img.shields.io/badge/license-MIT-blueviolet.svg)](https://github.com/DeepLcom/deepl-mcp-server/blob/main/LICENSE)\n\nA Slack bot that provides real-time translation capabilities using DeepL's translation API. Users can translate messages directly within Slack using commands or shortcuts.\n\n## Features\n\n- `/translate` command for direct text translation\n- Message shortcut for translating existing messages\n- Customizable target language and formality settings\n- Interactive message editing before sending\n- Persistent user preferences\n\n## Requirements\n\n- Node.js version 18 or higher\n- A DeepL API authentication key (Free or Pro account)\n- Slack workspace with appropriate permissions\n\n## Setup\n\n1. Clone the repository\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Create a `.env` file with the following variables:\n\n```\nDEEPL_API_KEY=your_deepl_api_key\nSLACK_BOT_TOKEN=your_slack_bot_token\nSLACK_SIGNING_SECRET=your_slack_signing_secret\nSLACK_APP_TOKEN=your_slack_app_token\n```\n\n4. Start the bot:\n\n```bash\nnpm run dev\n```\n\n## Usage\n\n### Commands\n\n- `/translate [text]` - Translate text to your configured target language\n- `/settings` - Configure your translation preferences (target language and formality)\n\n### Shortcuts\n\n- Message shortcut: Right-click any message to translate it\n\n### Settings\n\nConfigure your preferences using the `/settings` command:\n- Target Language: Choose your preferred translation language\n- Formality: Select between Automatic, Formal, or Informal translation style\n\nUser settings are automatically persisted in `db.json`.\n\n## Development\n\n### Environment Variables\n\nUsing .env file:\n- Copy `.env.example` to `.env`\n- Edit `.env` with your credentials\n- The `.env` file will not be committed to git\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeplcom%2Fslackbot-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeplcom%2Fslackbot-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeplcom%2Fslackbot-example/lists"}