Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A small project to try out Go as part of a personal monthly challenge on my blog. This is a spin-off of the original console application and allows users to bulk delete all old tweets that contain swear words based on a pre-defined comma separated file of words.

DISCLAIMER: Running this application MAY delete all of your tweets. I am not to be held responsible for the result of your actions of using this application.

Getting started

You need a Twitter developers account and a registered application. You can then specify your application's Twitter API consumer key, consumer secret, access token and access secret within a file called "config.json". You also need to specify a hash key and block key to encrypt your session cookies. These can also be placed within your "config.json". For more information, read here. You may use "config.json.template" as a template to work off to create your config.

You can download the archive of your Twitter accounts tweets by going to Twitter > Settings > Account > Content > Request your archive. You can then upload the tweet archive CSV file e-mailed to you to the web application.

Place your own CSV of words in the root folder as "swearwords.csv". You can download a generic one from here if you prefer.

How to use

Providing you have Go installed on your machine, you can compile the code by running go build in the root directory which will give you an .exe file to run. E.g../main.go or ./main.exe. You can also run the unit tests by running go test in the root directory.


As this application was created for learning purposes, I also created a similar console based alternative that also allows you to delete all tweets should you wish to do so, can be found here.


You can’t perform that action at this time.