A tool to archive image galleries from users from different sites
Find a file
2023-10-20 10:35:10 +02:00
.vscode Add: word to spell checking 2023-10-19 18:59:03 +02:00
archivist Add: Theme Chooser 2023-10-20 10:30:41 +02:00
.dockerignore Add: docker ignore file 2023-08-03 18:57:27 +02:00
.gitignore Add: media folder to git ignore 2023-08-24 17:54:51 +02:00
docker-compose.yml Add: basic docker-compose file 2023-08-24 18:14:45 +02:00
Dockerfile Add: basic Dockerfile 2023-08-02 13:46:52 +02:00
env-sample Add: env sample file 2022-09-22 14:06:05 +02:00
README.md Add: no GitHub bage 2023-10-20 10:22:21 +02:00
requirements.txt Add: "djangorestframework" pip module 2023-10-06 10:03:55 +02:00

Gallery-Archivist


Please don't upload to GitHub

My try to make a Social media archiving web tool with django and gallery-dl

Features / Roadmap

Note! This is still in early development so stuff will change.

    • Scraping sites
    • Scheduled tasks
    • Site support
    • Media support and previews
      • PDF (With HTML embed tag)
      • Image (With HTML img tag)
      • other text documents

Usage

Run without Docker

  • Step 1: Clone repo
git clone https://git.aroy-art.com/Aroy/Gallery-Archivist.git
  • Step 2: Change dir to the new cloned repo
cd Gallery-Archivist
  • Step 3: Make a python environment
python3 -m venv venv  
  • Step 4: Activate the new python environment
source ./venv/bin/activate
  • Step 5: Install python dependencies
pip install -r requirements.txt
  • Step 6: Copy environment config file and change it to your liking
cp env-sample .env
  • Step 7: Change directory to ./archivist
cd ./archivist
  • Step 8: Run django server
python3 manage.py runserver

Manual Import Data

It is possible to import data from saved gallery-dl json files

  • Step 1: Make sure that you are in the root folder of the project.

  • Step 2: Make sure to activate the python environment.

source ./venv/bin/activate
  • Step 3: Change directory to ./archivist
cd ./archivist
  • Step 4: Import the json data and media file from gallery-dl
    replace <path> with the path of the folder or json file to import
python manage.py import_data <path>

Development

Note! Instructions are made for a modern linux environment.

  • Step 1: Clone repo
git clone https://git.aroy-art.com/Aroy/Gallery-Archivist.git
  • Step 2: Change dir to the new cloned repo
cd Gallery-Archivist
  • Step 3: Make a python environment
python3 -m venv venv  
  • Step 4: Activate the new python environment
source ./venv/bin/activate
  • Step 5: Install python dependencies
pip install -r requirements.txt
  • Step 6: Copy environment config file and change it to your liking
cp env-sample .env
  • Step 7: Run django server
python3 archivist/manage.py runserver