Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zebrajaeger/pano-server
https://github.com/zebrajaeger/pano-server
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zebrajaeger/pano-server
- Owner: zebrajaeger
- License: other
- Created: 2023-04-11T13:48:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-11T10:29:33.000Z (about 2 months ago)
- Last Synced: 2024-09-11T14:41:15.929Z (about 2 months ago)
- Language: JavaScript
- Size: 2.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Pano Server
Frontend for a folder structure with panos.
Scans the folder structure, reads the information and presents
it in a more - or less - pretty way.// TODO screenshot
## Setup
### Clone end configure
git clone [email protected]:zebrajaeger/pano-server.git
cd pano-servercreate and edit the file `server.env`:
nano server.env
with content like this:
SERVER_URL=https://my.pano.server.org
### Build and start
docker-compose up --build -d
### Update, rebuild and start
git pull && docker-compose up --build -d
## Pano structure
To identify a pano-folder, this software searches for the following files
in the listed order:
- index.html
- index.template.html
- index.m.html
- index.m.template.html
- index.p.html
- index.p.template.htmlData is extracted from html-head:
- og:image ➔ preview image
- og:alt ➔ alternative preview image description
- og:title ➔ title
- og:description ➔ descriptionIn addition, if a file 'pano.description.json' exists into the top level
of the directory, the following data is extracted (and overwrites the information from the html header):
- htmlData.preview ➔ string ➔ preview image
- htmlData.alt ➔ string ➔ alternative preview image description
- descData.title ➔ string ➔ title
- descData.description ➔ string ➔ description
- link ➔ string ➔ link (otherwise the absolute path to the current folder)
- tags ➔ string[ ] ➔ tags### Preview image
The preview image will be scaled to max 150x150 pixel and stored in
/.panoserver/.150.jpg