2023-09-27 10:37:34 +00:00
> **IMPORTANT**
> This project is maintained irregularly and is still in rapid development.
> Things maybe here now, but not again in a few weeks
2023-03-03 19:20:58 +00:00
< div align = "center" >
< img src = ".github/images/OnlyLegs.png" width = "200" height = "200" / >
< div id = "user-content-toc" >
< ul >
< summary > < h1 style = "display: inline-block;" > OnlyLegs< / h1 > < / summary >
< / ul >
< / div >
< p > Gallery built for fast and simple image management< / p >
< / div >
< div align = "center" >
< a href = "https://git.leggy.dev/Fluffy/onlylegs" >
< img src = "https://img.shields.io/badge/Gitea-34495E?style=for-the-badge&logo=gitea&logoColor=5D9425" >
< / a >
< img src = "https://img.shields.io/badge/flask-%23000.svg?style=for-the-badge&logo=flask&logoColor=white" >
2023-04-07 14:49:43 +00:00
< img src = "https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge" >
2023-03-03 19:20:58 +00:00
< a href = "https://github.com/Fluffy-Bean/onlylegs/blob/main/LICENSE" >
< img src = "https://img.shields.io/github/license/Fluffy-Bean/onlylegs?style=for-the-badge" >
< / a >
2023-03-04 21:46:19 +00:00
< a href = "https://wakatime.com/badge/user/29bd1733-45f0-41c0-901e-d6daf49094d4/project/6aae41df-003f-4b17-ae8f-62cecfb3fc24" >
< img src = "https://wakatime.com/badge/user/29bd1733-45f0-41c0-901e-d6daf49094d4/project/6aae41df-003f-4b17-ae8f-62cecfb3fc24.svg?style=for-the-badge" alt = "wakatime" >
< / a >
2023-03-03 19:20:58 +00:00
< / div >
## Features
2023-03-12 18:37:07 +00:00
- [x] Easy uploading and managing of a gallery of images
2023-03-12 18:53:57 +00:00
- [x] Multi-user support, helping you manage a whole group of photographers
2023-03-12 18:42:26 +00:00
- [x] Image groups, helping you sort your favourite memories
2023-03-12 18:37:07 +00:00
- [x] Custom CSS support
- [ ] Password locked images/image groups, helping you share photos only to those who you want to
- [ ] Logging and automatic login attempt warnings and timeouts
- [ ] Searching through tags, file names and users
2023-03-03 19:20:58 +00:00
2023-03-12 18:37:07 +00:00
And many more planned things!
2023-03-03 19:20:58 +00:00
2023-04-05 19:32:17 +00:00
< h2 > Screenshots< / h2 >
< details > < summary > Home Screen< / summary >
2023-03-03 19:20:58 +00:00
![screenshot ](.github/images/homepage.png )
2023-04-05 19:32:17 +00:00
< / details >
< details > < summary > Photo View< / summary >
![screenshot ](.github/images/photo.png )
![screenshot ](.github/images/photo-mobile.png )
< / details >
< details > < summary > Photo Group< / summary >
![screenshot ](.github/images/group.png )
![screenshot ](.github/images/group-mobile.png )
< / details >
2023-03-03 19:20:58 +00:00
## Running
2023-03-12 18:42:26 +00:00
You first need to install `python poetry` , it's best to follow their getting started guide you can find on the official website.
2023-03-12 18:37:07 +00:00
Next we need to install the required packages for the gallery to function correctly, make sure you're in the directory of the project when you run this command:
2023-03-11 23:56:48 +00:00
poetry install
2023-03-12 18:37:07 +00:00
2023-03-12 18:42:26 +00:00
By default, the app runs on port 5000, 4 workers on `gunicorn` ready for you to use it. You can find more information on this using the `-h` flag. But to run the gallery, use this command.
2023-03-11 23:56:48 +00:00
poetry run python3 run.py
2023-03-12 18:53:57 +00:00
Now follow the provided prompts to fill in the information for the Admin account, and you're ready to go!
2023-03-12 18:37:07 +00:00
### Common issues
#### App failing to create a user config folder
2023-03-11 23:56:48 +00:00
2023-03-12 18:42:26 +00:00
Try checking if you have `XDG_CONFIG_HOME` setup. If you don't, you can set that with this command:
2023-03-11 23:16:27 +00:00
2023-03-11 23:56:48 +00:00
export XDG_CONFIG_HOME="$HOME/.config"
2023-03-11 23:16:27 +00:00
2023-03-14 22:07:17 +00:00
## Final notes
2023-03-12 18:37:07 +00:00
Thank you to everyone who helped me test the previous and current versions of the gallery, especially critters:
- Carty
- Jeetix
2023-03-12 18:42:26 +00:00
- CRT
2023-03-12 18:37:07 +00:00
- mrHDash
- Verg
2023-03-12 18:42:26 +00:00
- FennecBitch
2023-03-12 18:37:07 +00:00
2023-03-11 23:16:27 +00:00
Enjoy using OnlyLegs!