{"id":16881548,"url":"https://github.com/benbjohnson/authoritarian","last_synced_at":"2025-03-20T03:35:02.589Z","repository":{"id":15058744,"uuid":"17784941","full_name":"benbjohnson/authoritarian","owner":"benbjohnson","description":"Command line utility for authorizing Twitter users to an application.","archived":false,"fork":false,"pushed_at":"2014-04-03T15:56:15.000Z","size":159,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T23:56:14.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jrouviere/go-metrics","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benbjohnson.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":"2014-03-15T20:36:49.000Z","updated_at":"2014-12-31T14:36:36.000Z","dependencies_parsed_at":"2022-08-30T04:52:02.649Z","dependency_job_id":null,"html_url":"https://github.com/benbjohnson/authoritarian","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fauthoritarian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fauthoritarian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fauthoritarian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benbjohnson%2Fauthoritarian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benbjohnson","download_url":"https://codeload.github.com/benbjohnson/authoritarian/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244544786,"owners_count":20469728,"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":"2024-10-13T16:03:28.524Z","updated_at":"2025-03-20T03:35:02.570Z","avatar_url":"https://github.com/benbjohnson.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Authoritarian\n=============\n\n## Overview\n\nCommand line utility for authorizing Twitter users to an application. This can be useful if you own a bunch of accounts (such as feed accounts) that need to be authorized to a Twitter application you run. For example, the [Scuttlebutt](https://github.com/benbjohnson/scuttlebutt) project used this to authorize all its feeds.\n\n\n## Usage\n\nTo use authoritarian, you need to have you Twitter application's key and secret. From there, simply install and run the CLI:\n\n```sh\n$ go get github.com/benbjohnson/authoritarian\n$ authoritarian -key $TWITTER_APP_KEY -secret $TWITTER_APP_SECRET\nListening on http://localhost:10000\n```\n\nNow you simply need to open your web browser to [http://localhost:10000](http://localhost:10000) and log in with the Twitter account you want to authorize. After you authorize the account, you'll be presented with a user auth key and secret. Copy these values to wherever you need them since they are not saved anywhere else.\n\n*NOTE: PLEASE DO NOT PUT YOUR KEY \u0026 SECRET IN YOUR APPLICATION AND CHECK THEM IN!*\n\n## Acknowledgements\n\nThis project is largely based on @kurrik's [examples in twittergo](https://github.com/kurrik/twittergo-examples). It's just wrapped up into a little CLI so it's easy to use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbjohnson%2Fauthoritarian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenbjohnson%2Fauthoritarian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenbjohnson%2Fauthoritarian/lists"}