diff --git a/README.md b/README.md index b22911b..a2e153c 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ ---- -title: 「null:ポインタ」 ---- +# 「null:ポインタ」 -This is a no-bullshit file hosting and URL shortening service[1][1] that also -runs [0x0.st](https://0x0.st). Use with uWSGI. +This is a no-bullshit file hosting and URL shortening service. +Use with uWSGI. # Configuration -To configure 0x0, copy `instance/config.example.py` to +To configure 0x0a, copy `instance/config.example.py` to `instance/config.py`, then edit it. Resonable defaults are set, but there\'s a couple options you\'ll need to change before running 0x0 for the first time. @@ -80,31 +78,15 @@ Optional: - [libarchive-c](https://github.com/Changaco/python-libarchive-c) (archive content listing) -::: note -::: title -Note -::: - -[Mosh](https://mosh.org/) currently does not support sixels or kitty +** Note: [Mosh](https://mosh.org/) currently does not support sixels or kitty graphics. -::: - -::: hint -::: title -Hint -::: +** Hint You may need to set the `COLORTERM` environment variable to `truecolor`. -::: - -::: tip -::: title -Tip -::: +** Tip Using compression with SSH (`-C` option) can significantly reduce the bandwidth requirements for graphics. -::: # NSFW Detection diff --git a/templates/401.html b/templates/401.html index 672c7e4..bc65f7f 100644 --- a/templates/401.html +++ b/templates/401.html @@ -1,2 +1,21 @@ -rm: cannot remove '{{ request.path.split("/")[1] }}': Permission denied - + + + + + Unauthorized (401) + + +
+      /\_/\
+ /\  / o o \
+//\\ \~(*)~/
+`  \/   ^ /
+   | \|| ||
+   \ '|| ||
+   \)()-())
+    
+

+ rm: cannot remove '{{ request.path.split("/")[1] }}': Permission denied +

+ + diff --git a/templates/index.html b/templates/index.html index 91b7b17..bc3ce78 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,12 +7,11 @@

-
-

「null:ポインタ」

+

File upload

{% set fhost_url = url_for("fhost", _external=True).rstrip("/") %} @@ -25,8 +24,9 @@ Maximum file size: {{ max_size }}
Not allowed: {{ config["FHOST_MIME_BLACKLIST"] }}


+

URL shortening

- +