{"id":20256361,"url":"https://github.com/kpollich/tusky","last_synced_at":"2025-04-11T00:22:08.514Z","repository":{"id":92763546,"uuid":"107341679","full_name":"kpollich/tusky","owner":"kpollich","description":"A Dockerized Node service for pushing new toots from a Mastodon instance to a Slack channel.","archived":false,"fork":false,"pushed_at":"2018-02-14T03:25:59.000Z","size":25,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-13T13:50:13.268Z","etag":null,"topics":["docker","mastodon","nodejs","slack"],"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/kpollich.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}},"created_at":"2017-10-18T01:07:25.000Z","updated_at":"2020-02-06T22:39:19.000Z","dependencies_parsed_at":"2023-06-19T10:49:26.138Z","dependency_job_id":null,"html_url":"https://github.com/kpollich/tusky","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.3076923076923077,"last_synced_commit":"96250a801cc7d19354186ee30129f25735a7c8e5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpollich%2Ftusky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpollich%2Ftusky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpollich%2Ftusky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpollich%2Ftusky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kpollich","download_url":"https://codeload.github.com/kpollich/tusky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248318928,"owners_count":21083751,"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":["docker","mastodon","nodejs","slack"],"created_at":"2024-11-14T10:46:23.974Z","updated_at":"2025-04-11T00:22:08.488Z","avatar_url":"https://github.com/kpollich.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tusky\n\nA Dockerized Node service for pushing new toots from a [Mastodon](https://api.slack.com/incoming-webhooks) instance to a Slack channel.\n\n![tusky](https://user-images.githubusercontent.com/6766512/33136218-b2c14bba-cf72-11e7-97bf-fa2f4b2018c8.png)\n\n## Running tusky\n\n### What you'll need\n\n* A Mastodon URL and access token\n* A Slack \"incoming webhook\" endpoint\n* Docker (Or Node 6+ and Yarn if running natively)\n\nCreate a `.env` file in your `tusky` directory that defines the following environment variables:\n\n```bash\nACCESS_TOKEN=mastodon-access-token\nMASTODON_URL=https://some-mastodon-instance.com\nSLACK_WEBHOOK_ENDPOINT=https://hook.some-slack-instance.com\nENDPOINT=public/local\n```\n\nDefault ENDPOINT is public, which will show messages from remote instances. \n\nOnce you have your environment variables set up, run `docker-compose up -d` to start the container. This will start a `tusky` Docker container in the background. After that you're all set - tusky will listen for new Mastodon toots and post to your configured Slack endpoint to push the toots into your Slack instance.\n\nNote: This doesn't have crash recovery or any real error handling yet, so the docker container may die intermittently. \n\n## Non-Dockerized Use\n\nInstall dependencies with [Yarn](https://yarnpkg.com/en/)\n\n```bash\ncd tusky\nyarn\n```\n\nStart app with `yarn start` or use [nodemon](https://github.com/remy/nodemon) for auto-reloading in development. e.g. `nodemon index.js`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpollich%2Ftusky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpollich%2Ftusky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpollich%2Ftusky/lists"}