Ari-web source code https://ari.lt/
Find a file
Ari Archer f580260e7e fix not => note
Signed-off-by: Ari Archer <ari@ari.lt>
2024-04-05 11:46:00 +03:00
.well-known remove sininenkissa 2024-03-07 19:23:49 +02:00
api fix typo in the matrix page 2024-04-05 11:43:14 +03:00
content dear casey, 2023-12-02 14:05:59 +02:00
favicons make icons *.ico rather than *.png 2023-10-29 19:30:40 +02:00
page fix not => note 2024-04-05 11:46:00 +03:00
scripts personal : makeover of index and 404, add pages api 2023-04-06 01:55:01 +03:00
.clang-format Added JS minification, updated npm packages, add TODO items 2022-09-25 03:40:47 +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/pages : add pages api 2023-04-04 23:11:53 +03:00
badge-yellow.png add yellow badge by tobskep 2023-12-27 08:37:56 +02:00
badge.png add badge 2023-12-23 17:28:17 +02:00
index.html Delete XMPP (3/5) 2024-03-05 17:59:38 +00:00
LICENSE update license 2024-02-27 23:55:18 +02:00
LICENSE-badge license the badge under unlicense 2023-12-23 17:33:50 +02:00
Makefile Improve min* scripts, add a new subdomain: https://etc.ari-web.xyz/ 2022-10-01 02:24:46 +03:00
manifest.json index,js/config : fix manifest and add more comments loading 2023-04-06 02:24:07 +03:00
netlify.toml move /yt to youtube.com 2024-03-29 23:11:02 +02:00
NETWORK.md remove sininenkissa 2024-03-07 19:23:49 +02:00
package-lock.json replace all instances of ari-web.xyz with ari.lt 2023-11-30 20:07:32 +02:00
package.json replace all instances of ari-web.xyz with ari.lt 2023-11-30 20:07:32 +02:00
README.md add network.md, remove useless subdomains from readme 2024-02-24 13:07:26 +02:00
robots.txt replace all instances of ari-web.xyz with ari.lt 2023-11-30 20:07:32 +02:00
sitemap.xml improve matrix page 2024-01-29 02:37:07 +02:00
STANDARD.md replace all instances of ari-web.xyz with ari.lt 2023-11-30 20:07:32 +02:00
TODO.md replace all instances of ari-web.xyz with ari.lt 2023-11-30 20:07:32 +02:00

Website

Netlify Status

My website's source code.

Badge

the badge( s ) is licensed under UNLICENSE :

UNLICENSE

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>

original

author : Ari Archer - @TruncatedDinosour - https://ari.lt/ - ari.web.xyz@gmail.com

in html :

<a href="https://ari.lt/"> <img src="https://ari.lt/badge.png" loading="lazy" alt="ari-web badge" height="31px" width="88px" /> </a>

in markdown :

[![ari-web badge](https://ari.lt/badge.png)](https://ari.lt/)

ari-web badge

yellow

author : Tobskep - https://tobskep.com/

in html :

<a href="https://ari.lt/"> <img src="https://ari.lt/badge-yellow.png" loading="lazy" alt="ari-web badge" height="31px" width="88px" /> </a>

in markdown :

[![ari-web badge](https://ari.lt/badge-yellow.png)](https://ari.lt/)

ari-web badge

Customising when self-hosting

  1. Clone the repository: git clone https://ari.lt/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

API hashes

If you want to call to a very expensive API it might become slow, so there's hashes for them, they are sha256 hashes of those JSON files in the api

So what you do, replace all . in the API name with _, then make the request to /api_hash/..._hash.txt and you will get the hash, for example: https://www.ari.lt/api_hash/apis_json_hash.txt

Standard

See the standard to see how ari-web is structured and how to properly modify ari-web

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

Check https://ari.lt/lh