Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ciffelia/twauth
The simplest way to obtain Twitter API access token & secret.
https://github.com/ciffelia/twauth
docker javascript nodejs oauth twitter
Last synced: 2 months ago
JSON representation
The simplest way to obtain Twitter API access token & secret.
- Host: GitHub
- URL: https://github.com/ciffelia/twauth
- Owner: ciffelia
- License: mit
- Created: 2020-06-08T12:45:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-18T12:56:40.000Z (over 3 years ago)
- Last Synced: 2023-02-26T17:02:49.179Z (almost 2 years ago)
- Topics: docker, javascript, nodejs, oauth, twitter
- Language: TypeScript
- Homepage:
- Size: 235 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# twauth
[![CI Status](https://github.com/ciffelia/twauth/workflows/CI/badge.svg?branch=master)](https://github.com/ciffelia/twauth/actions?query=workflow%3ACI+branch%3Amaster)
[![MIT License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)
The simplest way to obtain Twitter API access token & secret.## Usage
1. Open your app at [Twitter Developers](https://developer.twitter.com/en/portal/projects-and-apps).
2. Add http://localhost:8080/callback to callback URLs.
3. Create `twauth.env` configuration file:
```sh
TWITTER_CALLBACK_URL=http://localhost:8080/callback
TWITTER_CONSUMER_KEY=xxx
TWITTER_CONSUMER_SECRET=xxx
```
4. Open your terminal and run:
```sh
docker run -it --rm --env-file=twauth.env --publish=8080:8080 ghcr.io/ciffelia/twauth
```
5. Open your browser and access http://localhost:8080/.