A tool for Ingress Mission Day POC teams.
This tool is in early development. It's design is not yet looking great, it has bugs and it is still missing a bunch of features. But to generate 24 Badges on-the-fly, it's already doing the job.
- If you're a programmer and you like to contribute, you're hereby invited to fork this repo, make your changes and send pull requests.
- Everybody is welcomed to open an issue when they have found a bug or have an idea for an enhancement.
Recommended for just using it temporarily and forget about it later. Which would be a typical scenario for this kind of tool. Please use small files. Although it works, the UI is not fully responsive when the project is running in colab. But it works. It just sometimes lets you wait without telling you to wait.
- Visit https://colab.research.google.com/ using
CTRL + click
(on Windows and Linux) orCMD + click
(on MacOS) to open colab in a new tab. - Crate a new Notebook
- In the code cell, paste e the following code:
!pip install pygit2==1.12.2
%cd /content
!git clone https://github.com/heistergand/md-badge-generator.git
%cd /content/md-badge-generator/
!git pull
!pip install -q -U -r requirements.txt
from google.colab.output import eval_js
print(f'CLICK HERE >>>>> {eval_js("google.colab.kernel.proxyPort(5000)")} <<<<<<')
!python app.py
- Run the cell
- It should now look somewhat like this:
- Click on the linke where it says "CLICK HERE" (obviously...)
- You can now use the tool.
- Optionally save the notebook in your personal google drive.
- When you're finishes using the tool, consider stopping the cell and the runtime
- Be kind and stop and delete the runtime in colab when your work is done. You can also just abandon it, but it saves energy when you close and delete the runtime.
Totally recommended, because it's easy and most likely fast. Don't make it run public, because as of now, it is not yet handling multiple users and will mix up and/or delete fiels in background from concurrent users. You need a functioning docker environment with docker compose.
- on your machine, make a new project folder
- Clone (or download) this repository into your project folder
- open the repository main dirctory
md-badge-generator
- run
docker compose up -d
- access the server on port 5000 on your machine
- I recommend lazydocker to monitor your running docker container
NOT recommended, because this could change your system environment while you try to install python versions and/or modules. You could be ending up shearing a bison when your python version is not up to date. Don't make it run public, because as of now, it is not yet handling multiple users and will mix up and/or delete fiels in background from concurrent users.
- Clone or download the repo to your machine into a new folder
- make sure Pillow and Flask is installed
pip3 install --update Pillow flask
- run the server via
python3 app.py
-
select images to upload
-
enter the name of your city
-
choose a font size
-
click upload
-
get all your images generated as mission day badges in 512x512 png format
This is an Ingress fan project. Not affiliated with Ingress or Niantic.