Skip to content

🧠 The core system of photos.network an open-source project for a self-hosted photo management application

License

Notifications You must be signed in to change notification settings

Sick-codes/core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photos.network

License GitHub contributors Discord GitHub Workflow Status

Photos.network is an open source project for self hosted photo management. Its core features are:

  • Share photos with friends, family or public
  • Filter / Search photos by attributes like location or date
  • Group photos by objects like people of objects

Core

This repository contains the core system of the project. It is responsible for main tasks e.g.:

  • Authentication (validate the identity of users)
  • Authorization (handle access privileges of resources like photos or albums)
  • Add-on Handling (managing add-ons)
  • Persistency (read / write data)
  • Task Processing (keep track of running tasks)

Development

Always use PEP 484: Type Hints in your syntax.


Visual Studio Code

The fastest start into development can be archived by using Visual Studio Code and Docker.

  1. Install Docker
  2. Install Visual Studio Code
  3. Install Visual Studio Code Remote - Containers
  4. Clone and Open this repository in Visual Studio Code
  5. Click the "Reopen in Container" Dialog
  6. Launch Photos.network from the RUN window.

VS Code with devcontainers


Manual Environment

Prepare an environment by running:

python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements_test.txt

After the environment is build, install the core:

python3 setup.py install

Run

python3 ./venv/bin/core

About

🧠 The core system of photos.network an open-source project for a self-hosted photo management application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Jinja 1.4%
  • Dockerfile 0.2%