Skip to content

xMAXVADERxx/Tweetslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweetslator

A Twitter Bot that automatically translates Tweets it's mentioned in

Setup:

The bot was designed for use with Heroku, though any hosting platform may be used

Config Information: When setting up time, the ISO-8601 format is used (i.e YYYY-MM-DDTHH:MM:SSZ; e.g 2020-11-07T01:35:43Z) The "GoogleCodes" file has all the different identifiers for languages (that are supported by GoogleTrans), edit as you wish

Heroku:

Fork the main branch Start a project over at dashboard.heroku.com image

Name your project, and set region (USA or Europe) image

Once setup, choose GitHub as your deployment method (You can use CLI for Git or Container Registry, if you know what you're doing!) image

Once GitHub is chosen, you can choose "Tweetslator" as the project (If you wish, you can use automatic deploys, or deploy manually, depending on how you wish to use your bot)

Once setup, go to the "Settings" tab and edit the "Config Vars" image

Add each of these config vars, which will be setup once you've made your Twitter Bot (developer.twitter.com, but I assume you know what you're doing!) (You can get your SELF_ID by putting your handle (@) into any ID Finding website) image

Once done, the bot will run, and should work!

Using a custom server

Clone the project to a folder (git clone github.com/xMAXVADERxx/Tweetslator)

Create a file named ".env" in the root of the Tweetslator folder, this'll be the config image

Setup the config as below, replacing the red boxes with the equivalent Twitter information image

About

A Twitter Bot that automatically translates Tweets it's mentioned in

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages