Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kingakeem/twitterbot

This app provides a GUI to interface with social media OSINT. Currently the project is focused on Twitter, but will be expanded to other applications.
https://github.com/kingakeem/twitterbot

api css full-stack go golang gui html javascript open-source open-source-intelligence osint react rest-api social-media twitter

Last synced: about 1 month ago
JSON representation

This app provides a GUI to interface with social media OSINT. Currently the project is focused on Twitter, but will be expanded to other applications.

Awesome Lists containing this project

README

        

# twitterbot

## About
twitterbot is an OSINT program focused on the social media application Twitter.
Users can view a wide variety of information from various sites with an easy-to-use GUI, information includes:
- User profile information such as name, location, bio, etc.
- User site posts
- User's followers
- User's following

## Setup
This application requires a variety of software to run locally, this is the only option currently.
You'll need a Bearer API token, create a `twitterbot.env` file with `API_TOKEN` key as the bearer token.
Add the `BASE_URL` AND `TOKEN_URL` values from the example as well, place this file in the `conf` directory.

e.g. example `twitterbot.env`
```env
BASE_URL="https://api.twitter.com/2"
TOKEN_URL="https://api.twitter.com/2/oauth2/token"
API_TOKEN="ASsafdasdfJASI!23Sasdf"
PORT=":8081"
```

Languages used are:
1. JavaScript, HTML & CSS (Front-end uses ReactJS)
2. Golang (Server)

### Front-end
1. Go to `front-end` directory
2. Run `npm start`

This will build the front-end code and create a local server at `localhost:3000`. The site should automatically load in your default browser.
If it does not, then go to `http://localhost:3000`. Hot reloading is activated so could changes are immediately applied.

### Back-end
1. Go to root directory of this project
2. Run `go run cmd/main/main.go`

This will start the back-end at `localhost:{PORT}`. This needs to be run in tandem with the front-end to provide the necessary REST API.
The port must be updated within `twitterbot.env` using the `PORT` key.

![twitterbot](https://user-images.githubusercontent.com/13573860/202072671-11c57da1-2b5e-41ae-8b69-2c9ef782c04d.gif)