https://github.com/ihatenodejs/pontus
A website for my online self
https://github.com/ihatenodejs/pontus
css html js website
Last synced: 3 months ago
JSON representation
A website for my online self
- Host: GitHub
- URL: https://github.com/ihatenodejs/pontus
- Owner: ihatenodejs
- License: unlicense
- Created: 2024-11-11T19:01:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-09T13:12:57.000Z (about 1 year ago)
- Last Synced: 2026-02-27T15:55:46.588Z (4 months ago)
- Topics: css, html, js, website
- Language: PHP
- Homepage: https://p0ntus.com
- Size: 255 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pontus
[](https://www.php.net)
[](http://creativecommons.org/publicdomain/zero/1.0/)
[](https://git.pontusmail.org/aidan/pontus/actions?workflow=minify.yaml)
[](https://512kb.club)
A website for my online self
## How to self-host
There are two self-hosted options, depending on your situation. For my purposes, I opt to use the script, so I can keep code up-to-date with my repo. However, you may prefer to host the static code, and not use the script.
### Using Docker
You may use Docker with the provided `Dockerfile` and `docker-compose.yml` to get started easily!
To use `pontus` with Docker:
```shell
docker compose up -d --build
```
The image will build, then a server will be started at http://localhost:2280.
The image uses PHP 8.4, Apache, and Bun and will set everything up for you, including minification.
### Using PHP and a web server
You may also opt to copy the src/ folder to another location, such as /var/www/html for use with web servers like Apache.
Keep in mind that PHP is required!
## Serve custom files
If you would like to host your own files, simply place them in `./src/archives/files`, keeping a similar directory structure.
You may have to update `./src/includes/sidebar.php` to include your new directories, and create any pages in `./src/archives` to properly display any custom directories.
You can customize the file browser if you wish in `./src/includes/file-browser.php`