https://github.com/fonsp/printi-static
🐌 Static github.io page for printi.me
https://github.com/fonsp/printi-static
Last synced: 4 months ago
JSON representation
🐌 Static github.io page for printi.me
- Host: GitHub
- URL: https://github.com/fonsp/printi-static
- Owner: fonsp
- License: gpl-3.0
- Created: 2019-01-26T17:01:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T15:41:33.000Z (over 1 year ago)
- Last Synced: 2025-10-23T17:51:35.151Z (7 months ago)
- Language: HTML
- Homepage: https://printi.me
- Size: 3.13 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# printi static
This site ([printi.me](printi.me)) will only serve a 404 error page, which actually contains the printi home page! This way, every `printi.me/subdomain` works. The advantages of serving the site this way are:
- ⚡ take advantage of the high-performance github.io server (which is free!);
- 💆 reduce demand on the API server;
- 🚀 allow for a faster deployment cycle.
The printer name is retrieved from the URL using javascript (`document.location.pathname`), and image uploads are sent to `api.printi.me`, the API server hosted on a different domain.
*Open [404.html](https://github.com/fonsp/printi-static/blob/master/404.html) to get started!*