Chad 2fa8b555e7
Add Static Resource Hosting (#8)
* Add ability to host files from web API rather than using the static site files.hyperling.com.

* Add details.

* Prevent further files from being committed in the static resource folder.

* Beginnings of a photo share from the website to replace PhotoPrism.

* Fix log message for files route.

* Allow customization of ports via shell script.

* Update README goals and fix URLs.

* FInalize the PHOTOS page, complete with video controls!

* Moe enhancements, such as displaying README's and adding [VIDEO] tag.

* Clean file a little.

* Remove TODO.
2024-01-24 11:02:23 +00:00
2024-01-24 11:02:23 +00:00
2024-01-24 11:02:23 +00:00
2024-01-24 11:02:23 +00:00
2022-10-06 07:00:14 -05:00
2024-01-24 11:02:23 +00:00
2024-01-24 11:02:23 +00:00
2024-01-24 11:02:23 +00:00

My Website - Hyperling.com

Custom website rather than using WordPress or anything else that handles the code for you.

Rather than using apache or nginx just using Node.js to serve an HTML API. Gives more control.

Use HTML and PHP files for the content because it sounds fun and I like challenges.

Basically a "page" is just a program that echo's HTML content for the API.

Will likely play with some pages being Bash and other fun things.

All content is formatted so that the page source is readible.

How To Run

The install script is currently only set up for apt, and the package names only tested on Ubuntu and Debian.

git clone https://github.com/Hyperling/website www
cd www
./run.sh

Then in a web browser, navigate to localhost:8080.

TODO

All goals are currently completed.

  • Add support for Let's Encrypt without using nginx or apache.
    • Going to continue using a reverse proxy, but may still be nice someday.

Inspiration

Description
Node.js API which serves HTML content, generates sitemaps, and more. Web pages can be written in any language that can create output.
Readme
Languages
PHP 51.6%
Shell 31.9%
JavaScript 11.9%
CSS 4.6%