the low orbit floating island cannon
- Introduction
- Installation
- Config
pyJAMa is a script that makes LDJAM theme voting less painful. It supports bulk voting themes that fit a given keyphrase and can be used to vote on themes in general.
- Command line based voting
- Bulk voting
- Go to RELEASES and download the latest release version.
- Make sure Python 3 is installed. You can check by typing
python3 --version
into your terminal. If a string containing a version number is displayed, continue. Otherwise, install Python 3 from the OFFICIAL WEBSITE. - Create a virtual python environment by typing
python3 -m venv <target folder>
into your terminal and switch to it usingsource <target folder>/bin/activate
. If creating the environment fails, you may need to install venv3 by typingsudo apt install python3-venv
first. - Install the required packages by running
python3 -m pip install -r requirements.txt
while the virtual environment is active. - To launch the program, use the command
python3 main.py
. - Enter your cookie data when the program asks you to. The cookie will be saved locally and is NEVER sent anywhere except to the official LDJAM website.
The program needs your session cookie from ldjam.com to communicate with the website API and to vote on themes. Your cookie can be found like this:
- FIREFOX: go to ldjam.com. Make sure you are logged in. Press F12 to open the developer console and switch to the "Storage" tab. Select the "Cookie" entry from the list on the left. Your cookie should be displayed here.
- CHROME: go to ldjam.com, making sure you are logged in. Click on the padlock to the left of the URL, then click on "Cookies". You should now see your cookie under "ldjam.com".
- OPERA: go to ldjam.com. Make sure you are logged in. Go to Settings > Privacy & security and click the ldjam cookie to see the content.
- Load tokens automatically
Entering tokens manually is not the most elegant solution. There might be a way to detect the browser used on the machine and to extract the cookies automatically.
- GUI
A GUI would be nice to have to make the program more accessable to people who don't like using the command line or that don't want to deal with pip requirements.