{"id":17717309,"url":"https://github.com/bwesterb/twittermost","last_synced_at":"2025-03-14T02:31:11.669Z","repository":{"id":57581246,"uuid":"93296103","full_name":"bwesterb/twittermost","owner":"bwesterb","description":"Twitter to mattermost bot","archived":false,"fork":false,"pushed_at":"2022-10-28T10:49:01.000Z","size":57,"stargazers_count":9,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T10:14:39.978Z","etag":null,"topics":["golang","mattermost","twitter"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bwesterb.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}},"created_at":"2017-06-04T07:01:49.000Z","updated_at":"2023-04-01T00:43:51.000Z","dependencies_parsed_at":"2023-01-20T14:00:38.007Z","dependency_job_id":null,"html_url":"https://github.com/bwesterb/twittermost","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Ftwittermost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Ftwittermost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Ftwittermost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bwesterb%2Ftwittermost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bwesterb","download_url":"https://codeload.github.com/bwesterb/twittermost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243511645,"owners_count":20302592,"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":["golang","mattermost","twitter"],"created_at":"2024-10-25T14:19:47.342Z","updated_at":"2025-03-14T02:31:11.319Z","avatar_url":"https://github.com/bwesterb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"twittermost\n===========\n\ntwittermost is a [Mattermost](https://about.mattermost.com) bot\nthat will announce the tweets of the tweeps it follows on twitter.\n\nInstalling\n----------\n\nFirst, install twittermost\n\n    $ go install github.com/bwesterb/twittermost@latest\n\nCreate a Twitter user (say @twitteruser) and a Mattermost user (say matteruser)\nfor the bot.  Register a [new app](https://apps.twitter.com) on twitter\nto get *consumer key*, *consumer secret*, *access token* and *access secret*.\n\nCopy `config.json.template`to `config.json` in the `conf` folder. Now edit it with the information obtained from Twitter.\nThen run with `twittermost`.\n\nInstall Using Docker\n------------\nIn case you want to run twittermost in a docker container, there is a way to do it.\n\nCreate a Twitter user (say @twitteruser) and a Mattermost user (say matteruser)\nfor the bot.  Register a [new app](https://apps.twitter.com) on twitter\nto get *consumer key*, *consumer secret*, *access token* and *access secret*.\n\nThen clone (or download) this project.\nCopy `config.json.template`to `config.json` in the `conf` folder. Now edit it with the information obtained from Twitter.\nThen run \n```\ndocker build . -t twittermost\ndocker run -it --rm --name twittermost -v \"$PWD\"/conf:/go/src/app/conf twittermost\n```\n\n\nUsage\n-----\n\nThe twittermost bot will respond to command by trusted users.  To add trusted users, use:\n\n1. `@matteruser trust username`\n\nLike a chick which hasn't seen its mother yet, the twittermost bot will trust anyone initially, until it's told who to trust.\n \n2. `@matteruser distrust username`\n   Removes the given Mattermost user from the trusted users.\n3. `@matteruser follow twitterhandle`\n   Follow the given user on twitter.\n4. `@matteruser unfollow twitterhandle`\n   Unfollow the given user on twitter.\n5. `@matteruser check`\n   Force a twitter timeline check for updates.  \n5. `@matteruser clear`\n   Removes all error messages in the debug channel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwesterb%2Ftwittermost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbwesterb%2Ftwittermost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwesterb%2Ftwittermost/lists"}