https://github.com/stuartleeks/htmlrefresh
Sample project for demoing deployments
https://github.com/stuartleeks/htmlrefresh
Last synced: about 1 year ago
JSON representation
Sample project for demoing deployments
- Host: GitHub
- URL: https://github.com/stuartleeks/htmlrefresh
- Owner: stuartleeks
- License: mit
- Created: 2017-07-04T12:34:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-01T09:56:22.000Z (over 7 years ago)
- Last Synced: 2025-02-17T10:49:09.329Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HtmlRefresh
This is a sample project used for demoing deployments
It is written in [.NET Core](http://dot.net/core) using as few dependencies as possible :-)
# Options
The following options can be specified via environment variables:
|Name|Description|Default|
|-|-|-|
|`HTML_REFRESH_MESSAGE`|The message to display. Environment variables will be expanded (N.B. Use`%COMPUTERNAME%` on Windows)|`$HOSTNAME|
|`HTML_REFRESH_BGCOLOUR`|Colour to use for the page background|`azure`|
|`HTML_REFRESH_FGCOLOUR`|Colour to use for the page foreground (i.e. font colour)|`black`|
|`HTML_REFRESH_FONTSIZE`|Size to use for the font (will need tweaking based on the message)|`16vw`|
|`HTML_REFRESH_RATE`|The refresh rate to use for the page|`1`|
Additionally, you can configure `ASPNETCORE_URLS` to control the ports that the web server binds to, e.g. `http://localhost:5001`(see [Url Prefixes](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel#url-prefixes) for more examples)