コミット
66db42e7b3
32
README.md
32
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
|
||||
|
||||
|
|
|
@ -1,2 +1,21 @@
|
|||
rm: cannot remove '{{ request.path.split("/")[1] }}': Permission denied
|
||||
|
||||
<!DOCTYPE HTML "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
<title>Unauthorized (401)</title>
|
||||
</head>
|
||||
<body>
|
||||
<pre>
|
||||
/\_/\
|
||||
/\ / o o \
|
||||
//\\ \~(*)~/
|
||||
` \/ ^ /
|
||||
| \|| ||
|
||||
\ '|| ||
|
||||
\)()-())
|
||||
</pre>
|
||||
<p>
|
||||
rm: cannot remove '{{ request.path.split("/")[1] }}': Permission denied
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -7,12 +7,11 @@
|
|||
<body bgcolor="#000000">
|
||||
<br><br><table border="2" cellpadding="12" cellspacing="0" bgcolor="#ffffff" align="center">
|
||||
<tr>
|
||||
<td border="0" align="center">
|
||||
</td>
|
||||
<td align="center">
|
||||
<h1>「null:ポインタ」</h1>
|
||||
</td>
|
||||
<td>
|
||||
<h2>File upload</h2>
|
||||
<center>
|
||||
<p>
|
||||
{% set fhost_url = url_for("fhost", _external=True).rstrip("/") %}
|
||||
|
@ -25,8 +24,9 @@
|
|||
Maximum file size: {{ max_size }} <br>
|
||||
Not allowed: {{ config["FHOST_MIME_BLACKLIST"] }} <br>
|
||||
<hr>
|
||||
<h2>URL shortening</h2>
|
||||
<form action="{{ fhost_url}}" method="POST">
|
||||
<input type="text" name="url">
|
||||
<input type="text" name="shorten">
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
</p>
|
||||
|
|
読み込み中…
新しいイシューから参照