2.1.1 • Published 2 years ago
@acisel.fr/tweets-sample v2.1.1
1% of all tweets
Start a project with our library
With nodejs (version > 16.13.0)
The module is in the GitHub registry. So, specify in your ${HOME}/.npmrc
file the following lines:
registry=https://registry.npmjs.org/
@acisel-fr:registry=https://npm.pkg.github.com/
Then, you can install it in your project folder:
mkdir MYPROJECT
cd MYPROJECT
npm init
npm install @acisel-fr/tweets-sample
Create an .env
file with this content:
TWITTER_BEARER_TOKEN=
And append to it your bearer token. To obtain a token, visit the developper portal of Twitter.
Afterwards, create a script file run.js
:
And run the script:
node ./run.js
You will see then 1% of all the tweets emitted in real time.
With Docker
Missing features
- cli
- demo
- docs
- i18n
- a11y
- perf