Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

geofmigliacci/twihod

 
 

Repository files navigation

License Coverage

Twitter Followers Github Followers

Twihod

Twihod is a project made to update your profile location accordingly with the number of your followers making a progress bar with emojis.

The idea is a re-write in NestJs from the following repository made by guillaume-rygn.

Description

Twihod is a project made with NestJs to update your profil location accordingly with the number of your followers making a progress bar with emojis.

It was made with the power of NestJs which is framework for building efficient, scalable Node.js server-side applications with ease thanks to its testability & dependency injection system.

Installation

Replace the banner with your banner inside src/assets/twitter-banner.png the banner will be converted to a 1500 x 500 png image.

To make sure your banner doesn't get distorted use this size or a ratio of 3:2.

Then, install dependencies:

npm ci

Create a .env file at the root of the project containing the Twitter's API values. If you're not sure what to put in your .env take a look at the .env.example file.

Then you can launch the app with the following command:

npm run start:prod

Alternative

You can also launch a docker container with:

docker-compose up

Your .env must be set.

Gotcha

Don't forget that your Twitter application should have the right to read & write.

Don't forget to create your .env with all the necessary information.

About

A bot that updates your Twitter banner & location every 60 seconds with your number of followers.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 96.9%
  • JavaScript 1.9%
  • Other 1.2%