semiphemeral
Docker setup forI created this gizmo so I could have an isolated environment to run Semiphemeral. At the time I created it, the Semiphemeral instructions said to install it from pip, but that was grabbing an older version with a dependency mismatch. This Dockerfile handles fetching the most recent version and doing all the right dependency installs so you don't have to!
- Follow the instructions to setup a Twitter app and create OAuth tokens.
- Clone this repo. Then create a directory in the root called
config
. This directory is where your Semiphemeral configuration and tweets archive will be stored.- Note: The archive created by Semiphemeral is not the same as the official archive from Twitter. It contains less information. If you intend to delete all of your Twitter history, consider downloading an official archive first.
- Run
docker compose up
to enter Semiphemeral configuration. - Open your browser to http://localhost:8080 and paste in the values you got from Twitter. The rest of the configuration is described on the Semiphemeral site.
- When you're done, click save. You can now close your browser.
- Run
docker compose run semiphemeral <command>
wherecommand
is one of the options listed at the top of the instructions, such asfetch
ordelete
.