Create your own Shit Happens playing cards!
Go to the app »
![]() |
![]() |
---|---|
Front | Back |
Ever wanted to play with your own Shit Happens playing cards? Now you can. Write down the most miserable situations you can think of and rank them. This project automatically outputs playing cards in pdf format.
This project is not related to the original card game. Open an issue in case of any objections.
The tool is available as an online Streamlit Community Cloud app or via Docker
docker run -p 8501:8501 ghcr.io/siemdejong/ithappens
To create custom It Happens cards, you need to have a list of situations. Every situation has a misery index and optionally an image. Example input files are available in YAML, CSV, or Excel and can be downloaded via the app. Once you're happy with your situations, upload your input file. The app will generate 300dpi 62mm x 88mm cards with cropmarks.
Optionally, you can choose to generate individual PNGs, generate only one side of a card, set a custom name, or change the "misery index" text.
The dependencies are managed with uv
.
Otherwise, a virtual environment with python 3.9 or higher is required.
Developers should fork this repository and run
git clone https://github.com/<your-username>/ithappens.git
This will place the sources in a directory ithappens
below your current working directory, set up the origin
remote to point to your own fork, and set up the upstream
remote to point to the ithappens
main repository.
Change into this directory before continuing:
cd ithappens
You should set up a dedicated environment to decouple your ithappens development from other Python and ithappens installations on your system.
Run uv sync
or pip install -e .
to sync your python environment.
Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPL-3.0 license. See LICENSE
for more information.