Skip to content

Latest commit

 

History

History
63 lines (57 loc) · 1.71 KB

README.md

File metadata and controls

63 lines (57 loc) · 1.71 KB

Tildeverse Gallery

Code and templates used to take screenshots and generate HTML for the gallery on:

Screenshot of the gallery on tilde.club

Requirements

The requirements should be installed on the system before you can run the scraper. These can be installed with the following commands:

apt install python3 python3-pip python3-venv
apt install libxss1 libatk-bridge2.0-0 libgtk-3-0
apt install fonts-liberation

The update script assumes that a python virtual environment is used named env. Create a new virtual environment first using this command:

python3 -m venv env

Then enter the environment and install the required Python packages:

source env/bin/activate
pip install -r requirements.txt

Update pipeline

The program follows the following update pipeline:

            start
              |
              V
+---------------------------+
|  Get users & timestamps   |
|    from remote server.    |
+---------------------------+
              |
              V
+---------------------------+
|  Merge with cached data.  |
+---------------------------+
              |
              V
+---------------------------+
|      Update outdated      |
|       screenshots.        |
+---------------------------+
              |
              V
+---------------------------+
|  Generate & zip website.  |
+---------------------------+
              |
              V
+---------------------------+
|   Send to remote server   |
|        and unzip.         |
+---------------------------+