Chad 8bf7981b90
Clean Log Warnings, Enhance Runnability (#25)
* Only check the variable if it is set, avoid a log error.

* Pipe errors to SDOUT in case that's why Docker is not showing NPM progress.

* Two messages seemed very similar. Differentiate them.

* Check and install each dependency separately in case a lighter version is already installed.

* Don't require sudo if running as root.

* Use node instead of relying on shebang.

* Allow doing "npm start".

* Remove redirects, did not help see progress.

* Add a note when sudo is used.

* Fix node interpretor location to be arbitrary.

* Woops, need to keep advisories if the value is not set to false.

* Remove warning about apt CLI. Allow npm start to do dependencies.

* `npm start` is not magic, still need to run the install.

* Have `npm start` execute the main run script rather than bypassing dependency checks.

* Use PHP-CLI, smaller install size and more appropriate since only running local scripts.
2024-04-03 20:02:58 -07:00
2024-01-26 02:50:43 +00:00
2024-01-26 02:50:43 +00:00
2022-10-06 07:00:14 -05: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%