Home

Awesome

web3terms

GitHub issues GitHub forks GitHub stars GitHub watchers Twitter Follow

A Twitter bot explaining and simplifying web3 terms to everyone!

<img width="600" alt="Screenshot 2022-04-07 at 22 58 40" src="https://user-images.githubusercontent.com/45847909/162620196-98c4c249-de0b-42de-bb8e-bdb19062d64e.png">

🏆 Features

🛠 Installation

git clone https://github.com/Olanetsoft/web3terms.git
yarn

It will install Twit, the library that lets us talk to Twitter.

🥂 After making a change

  1. Sort the file
yarn run sort
  1. Run a test to check all definition length
yarn test
  1. Create a new branch
git checkout -b <Your-branch-name>
  1. Add changes
git add .
  1. Add a commit message
git commit -m "<your message>"
  1. Push your changes
git push --set-upstream origin <branch-name>
  1. Create a Pull Request

  2. Congratulations 🙌🏼

🔀 Connecting to Twitter

  1. Register a Twitter account and also get its "app info".

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.

  1. Now go here and log in as the Twitter account for your bot:
  2. Fill up the form and submit.
  3. Next once the submission completes you will be taken to a page which has the
  1. Create a .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
  1. Type the following in the command line in your project directory to start the project
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"

👨‍👩‍👦 Community

Don't forget to follow Web3terms on twitter

🧑‍💻 Contributing

Whats Next

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

Note to Contributors

🫂 Credits

Thanks to all Contributors 💪

Thanks a lot for spending your time helping Web3Terms Bot grow. Happy Hacking 🍻

Contributors

Thanks to all Stargazers ⭐️

Thanks to all stargazers