Ari-web source code https://ari.lt/
Find a file
Ari Archer 7e4a6beb32 Fix a typo in the 90s page
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-09-03 01:35:20 +03:00
.vscode update @ Mon 1 Nov 20:05:35 EET 2021 2021-11-01 20:05:35 +02:00
api Fix a typo in the API 2022-09-02 18:22:36 +03:00
content Make the bar in the 90s page always stick to bottom 2022-09-03 01:31:16 +03:00
favicons update @ Mon 30 May 15:16:05 EEST 2022 2022-05-30 15:16:05 +03:00
page Added be page and also add netlify api minification 2022-09-02 18:14:05 +03:00
scripts Added be page and also add netlify api minification 2022-09-02 18:14:05 +03:00
.editorconfig update @ Sat 26 Feb 15:07:20 EET 2022 2022-02-26 15:07:20 +02:00
.eslintrc.js update @ Sun 22 May 14:57:42 EEST 2022 2022-05-22 14:57:42 +03:00
.gitignore api/apis.json is generated serverside 2022-06-12 10:48:17 +03:00
90s.html Fix a typo in the 90s page 2022-09-03 01:35:20 +03:00
index.html Switch licensing order, fix keywords 2022-08-10 00:01:17 +03:00
LICENSE Switch to GPLv3 2022-08-09 21:38:10 +03:00
Makefile Fix the makefile 2022-09-02 18:18:15 +03:00
manifest.json update @ Fri 11 Mar 14:58:55 EET 2022 2022-03-11 14:58:55 +02:00
netlify.toml Add a route for https://www.teddit.net/ 2022-08-14 17:37:03 +03:00
package-lock.json Revert the full file minification on build 2022-08-29 00:04:08 +03:00
package.json Revert the full file minification on build 2022-08-29 00:04:08 +03:00
README.md Add 3.ari-web.xyz 2022-08-21 05:29:15 +03:00
robots.txt update @ Sun 20 Feb 06:23:07 EET 2022 2022-02-20 06:23:07 +02:00
sitemap.xml Add 90s page to the sitemap 2022-09-03 01:12:51 +03:00
TODO.md Add 3.ari-web.xyz 2022-08-21 05:29:15 +03:00

Website

Netlify Status

My website's source code.

Customising when self-hosting

  1. Clone the repository: git clone https://ari-web.xyz/git ari-web
  2. Enter the directory: cd ari-web
  3. See the /content/styles/config and /content/js/config directories.
  4. Open it in live server: python3 -m http.server 5500
  5. Go to http://0.0.0.0:5500/ in your browser
  6. Edit all stuff that is ARI-WEB-SPECIFIC in netlify.toml
  7. Publish on netlify

Usage API

The usage api has all the statistics I get from netlify, it serves as an archive and growth monitor

Schema:

{
    "<YYYY-MM-DD>": {
        "total": <total bandwidth used in MB>,
        "top": {
            "<top usage site 1>": <total bandwidth used in MB>,
            "<top usage site 2>": <total bandwidth used in MB>,
            "<top usage site 3>": <total bandwidth used in MB>
        }
    }
}

The date is the day I added those stats, total is total bandwidth used up to that point, top is the top 3 site's usage and its keys are the (sub)domain names and the values of those keys are the used bandwidth out of the total

The bandwidth keys are all floats for easy parsing, they represent the bandwidth used in MB

The top sites will most likely not have the total bandwidth fully used, so as a measure you can use this formula to calculate how much per avg sites are using:

(data["<YYYY-MM-DD>"]["total"] - sum(data["<YYYY-MM-DD>"]["top"].values())) / (len(ari_web_sites) - 3)

Subdomains