https://github.com/satansdeer/twitter-thread-reader
https://github.com/satansdeer/twitter-thread-reader
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/satansdeer/twitter-thread-reader
- Owner: satansdeer
- Created: 2021-05-06T17:31:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-14T16:53:35.000Z (about 4 years ago)
- Last Synced: 2025-02-05T05:28:11.405Z (4 months ago)
- Language: TypeScript
- Size: 225 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Twitter Thread Reader
This thread reader application can only read recent threads due to Twitter API limitation.
Example thread id `1392377427381399558`.
This application uses:
* [craco](https://github.com/gsoft-inc/craco), to add tailwind support without ejecting
* [tailwind](https://tailwindcss.com/), for styles
* [nodemon](https://nodemon.io/), to reload server when we update the code
* [concurrently](https://github.com/kimmobrunfeldt/concurrently#readme), to run client and server simultaneously## Notes
### Get Twitter type definitions
We use [openapi-typescript](https://github.com/drwpow/openapi-typescript) to generate the types from the openapi spec.
```
$ npx openapi-typescript https://api.twitter.com/2/openapi.json --output twitter.ts
```### Generate Server type declarations
`tsc --declaration`