A bot explaining and simplifying web3 terms to everyone
A Twitter bot explaining and simplifying web3 terms to everyone!
https://web3terms.onrender.com/terms
to retrieve all terms ✅
{
"previousPage": "xx",
"nextPage": "xx",
"total": xxx,
"totalPages": xxx,
"items": [
{
"term": "abi",
"meaning": "ABI is the standard way to interact with contracts in the Ethereum ecosystem, both from outside the blockchain and for contract-to-contract interaction."
},
//...
]
}
page
and/or limit
.git clone https://github.com/Olanetsoft/web3terms.git
yarn
It will install Twit, the library that lets us talk to Twitter.
yarn run sort
yarn test
git checkout -b <Your-branch-name>
git add .
git commit -m "<your message>"
git push --set-upstream origin <branch-name>
Create a Pull Request
Congratulations 🙌🏼
Twitter doesn't allow you to register multiple twitter accounts on the same email address. I recommend you create a brand new email address (perhaps using Gmail) for the Twitter account. Once you register the account to that email address, wait for the confirmation email.
Read and Write
Generate access token
..env
file and fill in the generated tokens in the "Key and Access Token" tab.It should look like this:
PORT=xxxx
NODE_ENV=development
DEV_BASE_URL=http://localhost:$PORT
PROD_BASE_URL=http://localhost:$PORT
TWITTER_CONSUMER_KEY=xxxx
TWITTER_CONSUMER_SECRET=xxxx
TWITTER_ACCESS_TOKEN=xxxx
TWITTER_ACCESS_TOKEN_SECRET=xxxx
yarn dev
You should have something similar to what is shown below on your terminal.
[LOGGING] info: "Connected!"
[LOGGING] info: "Server running on port xxxx"
Don't forget to follow Web3terms on twitter
You might want to push this app to a running server, here is a curated list you can checkout..
Do not misuse the twitter api to spam or burden the server load for twitter api, as twitter follows a strict rule of closing down accounts that do that. Please read here for the rules
data/terms.json
directory should be in lowercase.Thanks a lot for spending your time helping Web3Terms Bot grow. Happy Hacking 🍻