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

https://github.com/dmuth/cheetah-registry-scripts

Support scripts for my Cheetah Registry iPhone App
https://github.com/dmuth/cheetah-registry-scripts

Last synced: 8 months ago
JSON representation

Support scripts for my Cheetah Registry iPhone App

Awesome Lists containing this project

README

          

# Cheetah Registry Scripts

This GitHub repo holds supporting scripts that are used to ingest info on cheetahs from Twitter into my Cheetah Registry App.

## Instructions

### Get a List of Usernames from Twitter

This repo comes with a file called `cheetahs.txt`, which I regularly refresh from my list of cheetahs on Twitter. But if you have your own list that you'd like to download, here's how to go about doing that:

From the instructions in this article:
- Go into Tweetdeck
- Click "add column"
- Click the list you want to add
- Once the list is added, click the "filter" button on the upper right of that list
- Click "Edit List"
- Click "Export List" in the upper right of that list. That will give you a list of Twitter usernames that you can copy and paste to a text file.

### Downloading User Profile Info from Twitter:

- `./download-list.sh ./cheetahs.txt`
- This will go through Twitter, download the user profile info of each user in that file, and write it to a JSON file in the `users/` directory.
- If a user's info already exists in `users/`, it won't be downloaded again, as a timesaving measure.
- As of this writing, download info on 180 cheetahs takes approximately 11 minutes.

### Exporting User Profile Info Into a CSV

- `./export-list.sh > cheetahs.csv`
- Turn our JSON into a CSV suitable for importing into my Google Doc
- This takes about 5 seconds for 180 cheetahs

### Importing into Google Drive

At this point, I'm ready to import the CSV of cheetahs into a spreadsheet in Google Drive,
at which point the cheetahs should show up in my app.

# Resources

- The Cheetah Registry App for iPhone and Android
- Twint
- Splunk-Twint
- A Dockerized wrapper for running Twint
- My cheetah images stored on Imgur

# Credits

- Glide - A web-based app which I used to build this app. It was quite easy!
- The icon shown above is part of the Cheetah Telegram sticker pack, drawn by Cinnamon Spots