~nprescott/glue-boy

ref: c23fd27c3f1b2a28c6bf45c173a33cc51d1ec123 glue-boy/index.html -rw-r--r-- 1.1 KiB
c23fd27c — Nolan Prescott Fix links http:// --> https:// 3 years ago
                                                                                
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
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>glue-boy</title>
  </head>
  <body style="font-family:monospace">
    <div>
      <form action="" method="POST">
        <textarea name="content"  
                  rows="15" 
                  cols="79"
                  style="max-width:100%;"
                  placeholder="paste your content here" 
                  autofocus required></textarea>
        <p>
          <input name="btn" type="submit" value="glue!"/>
        </p>
      </form>
      <p>
        glue-boy is command line friendly, upload a file with:
      <p>
        <code>$ curl -L -F &#34;content=&lt;filename.extension&#34; -w &#34;%{url_effective}\n&#34; https://glue.nprescott.com
        </code>
      </p>

      <p>or paste STDOUT:</p>
      <p>
        <code>$ fortune | curl -L -F &#34;content=&lt;-&#34; -w &#34;%{url_effective}\n&#34; https://glue.nprescott.com</code>
      </p>
      <a href="https://github.com/NPrescott/async-glue-boy">glue-boy</a>
      </p>
    </div>
  </body>
</html>