aboutsummaryrefslogtreecommitdiff
path: root/index.html
blob: 1962e7b80dd34c4977082012e5431decb6bfbe70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="en">
  <head>
    <link rel="canonical">
    <link rel="icon" type="image/png" sizes="32x32" href="/chud/img/favicon.png">
    <link rel="stylesheet" type="text/css" href="https://xolatile.top/style.css">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.5">
    <title id="title">up.chud.cyou</title>
  </head>
  <body>
    <div style="width: 50em;">
      <form action="https://up.chud.cyou/upchud.tcl" method="post" enctype="multipart/form-data">
        <fieldset>
          <legend>Upload a file</legend>
          <label>
            Select file:
            <input type="file" name="file" required>
          </label>
          <button type="submit">Upload</button>
        </fieldset>
      </form>
      <p>You may upload files using the above form or the following command:</p>
      <pre>
curl https://up.chud.cyou --upload-file 'file'
# alternatively
curl https://up.chud.cyou -F'file=@file'
      </pre>
      <p>
        Files are wiped monthly and may not be larger than 100 mebibytes.
      </p>
      <p>
        Upchud is a FOSS file uploader service, originally developed for
        <a href="https://up.chud.cyou">up.chud.cyou</a>
      </p>
      <p>
        Original source:
        <a href="https://git.xolatile.top/anon/upchud">git.xolatile.top/anon/upchud</a>
      <br />
        This deployment's source:
        <a href="https://git.xolatile.top/emil/up.chud.cyou">git.xolatile.top/emil/up.chud.cyou</a>
      </p>
      <p>Contact and abuse reports via <a href="mailto:admin@chud.cyou">email</a>.</p>
      <p>
        Emacs.
      </p>
      <pre>
(use-package 0x0 :straight t)

(custom-set-variables
 '(0x0-default-server 'chud)
 '(0x0-servers
   '((0x0 :scheme "https" :host "0x0.st" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30 :max-age 365
          :max-size 536870912)
     (ttm :scheme "https" :host "ttm.sh" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30 :max-age
          365 :max-size 268435456)
     (envs :scheme "https" :host "envs.sh" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30 :max-age
           365 :max-size 536870912)
     (lainsafe :scheme "https" :host "lainsafe.kalli.st" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 23
               :max-age 23 :max-size 10485760)
     (x0 :scheme "https" :host "x0.at" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 3
               :max-age 100 :max-size 536870912)
     (chud :scheme "https" :host "up.chud.cyou" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 28
           :max-age 28 :max-size 104857600))))
     </pre>
    </div>
  </body>
</html>