Skip to content

Source of my private domains main page.

Notifications You must be signed in to change notification settings

ScarlettSamantha/scarlettbytes

Repository files navigation

ScarlettBytes

This is the source of scarlettbytes.nl. This repository is here for transparency and to provide insights into the structure and content of my personal website.

Overview

The website serves as a personal hub to host my GPG public key, CV, and links to various projects I am working on or have worked on etc...

Development

Endpoints

Endpoint(s) Methods Description Rate Limit Parameters
/gpg, /key GET Returns the GPG public key in a preformatted HTML response. 10 per minute None
/lshw-parser GET Redirects to the lshw-parser GitHub repository. 5 per minute None
/lshw-parser/download GET Redirects to the latest release zip URL of the lshw-parser package, or returns a 404 error if not found. 5 per minute None
/openciv GET Redirects to the OpenCiv GitHub repository. 5 per minute None
/openciv/download GET Redirects to the latest release zip URL of the OpenCiv package, or returns a 404 error if not found. 5 per minute None
/cv/download GET Serves the CV PDF file as a downloadable attachment. 10 per minute None
/cv/download/key GET Serves the PGP signature file for the CV PDF as a downloadable attachment. 10 per minute None
/cv GET Serves the CV PDF file directly in the browser. 10 per minute None
/equipment GET Renders the equipment page template, including Git information. 10 per minute None
/, any unmatched path GET Renders the home page template, including Git information. This is a catch-all route for any paths not matched by other endpoints. 10 per minute None
/datetime GET Displays the current datetime. Supports optional URL parameters: format (datetime format string), live (true or false), interval (update interval in milliseconds). If live is true, the datetime updates at the specified interval using JavaScript. 10 per minute - format: string (default "%Y-%m-%d %H:%M:%S"). See datetime format documentation.
- live: true or false (default false).
- interval: integer in milliseconds (default 1000).

Notes:

  • Rate Limits are enforced using Flask-Limiter.
  • The /datetime endpoint allows you to customize the displayed datetime format and enable live updating via JavaScript.
  • The catch-all route (/ and any unmatched path) renders the home page.