コミット
66db42e7b3
32
README.md
32
README.md
|
@ -1,13 +1,11 @@
|
||||||
---
|
# 「null:ポインタ」
|
||||||
title: 「null:ポインタ」
|
|
||||||
---
|
|
||||||
|
|
||||||
This is a no-bullshit file hosting and URL shortening service[1][1] that also
|
This is a no-bullshit file hosting and URL shortening service.
|
||||||
runs [0x0.st](https://0x0.st). Use with uWSGI.
|
Use with uWSGI.
|
||||||
|
|
||||||
# Configuration
|
# 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
|
`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
|
there\'s a couple options you\'ll need to change before running 0x0 for
|
||||||
the first time.
|
the first time.
|
||||||
|
@ -80,31 +78,15 @@ Optional:
|
||||||
- [libarchive-c](https://github.com/Changaco/python-libarchive-c)
|
- [libarchive-c](https://github.com/Changaco/python-libarchive-c)
|
||||||
(archive content listing)
|
(archive content listing)
|
||||||
|
|
||||||
::: note
|
** Note: [Mosh](https://mosh.org/) currently does not support sixels or kitty
|
||||||
::: title
|
|
||||||
Note
|
|
||||||
:::
|
|
||||||
|
|
||||||
[Mosh](https://mosh.org/) currently does not support sixels or kitty
|
|
||||||
graphics.
|
graphics.
|
||||||
:::
|
|
||||||
|
|
||||||
::: hint
|
|
||||||
::: title
|
|
||||||
Hint
|
|
||||||
:::
|
|
||||||
|
|
||||||
|
** Hint
|
||||||
You may need to set the `COLORTERM` environment variable to `truecolor`.
|
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
|
Using compression with SSH (`-C` option) can significantly reduce the
|
||||||
bandwidth requirements for graphics.
|
bandwidth requirements for graphics.
|
||||||
:::
|
|
||||||
|
|
||||||
# NSFW Detection
|
# 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">
|
<body bgcolor="#000000">
|
||||||
<br><br><table border="2" cellpadding="12" cellspacing="0" bgcolor="#ffffff" align="center">
|
<br><br><table border="2" cellpadding="12" cellspacing="0" bgcolor="#ffffff" align="center">
|
||||||
<tr>
|
<tr>
|
||||||
<td border="0" align="center">
|
|
||||||
</td>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<h1>「null:ポインタ」</h1>
|
<h1>「null:ポインタ」</h1>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
<h2>File upload</h2>
|
||||||
<center>
|
<center>
|
||||||
<p>
|
<p>
|
||||||
{% set fhost_url = url_for("fhost", _external=True).rstrip("/") %}
|
{% set fhost_url = url_for("fhost", _external=True).rstrip("/") %}
|
||||||
|
@ -25,8 +24,9 @@
|
||||||
Maximum file size: {{ max_size }} <br>
|
Maximum file size: {{ max_size }} <br>
|
||||||
Not allowed: {{ config["FHOST_MIME_BLACKLIST"] }} <br>
|
Not allowed: {{ config["FHOST_MIME_BLACKLIST"] }} <br>
|
||||||
<hr>
|
<hr>
|
||||||
|
<h2>URL shortening</h2>
|
||||||
<form action="{{ fhost_url}}" method="POST">
|
<form action="{{ fhost_url}}" method="POST">
|
||||||
<input type="text" name="url">
|
<input type="text" name="shorten">
|
||||||
<input type="submit" value="Submit">
|
<input type="submit" value="Submit">
|
||||||
</form>
|
</form>
|
||||||
</p>
|
</p>
|
||||||
|
|
読み込み中…
新しいイシューから参照