The backend of a gist server written in Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html.tera 916B

123456789101112131415161718192021222324252627282930313233
  1. <html>
  2. <head>
  3. <title>bngl.ws</title>
  4. <style>
  5. .container {
  6. margin: auto;
  7. max-width: 500px;
  8. }
  9. pre {
  10. background: #f5f5f5;
  11. padding: 5px;
  12. }
  13. </style>
  14. <meta name="viewport" content="width=device-width">
  15. </head>
  16. <body>
  17. <div class="container">
  18. <h1>bngl.ws</h1>
  19. <p>
  20. bngl.ws is a pastebin service that you can access from the command
  21. line. If you have
  22. <a href="https://doc.rust-lang.org/cargo/getting-started/installation.html" target="_blank">
  23. cargo</a> installed, you can install the CLI client by cloning the
  24. <a href="https://git.sr.ht/~simulacrumparty/bnglws-client" target="_blank">client repo</a>
  25. and running
  26. <pre>cargo install --path .</pre>
  27. Then, you can create snippets by running something like
  28. <pre>echo 'Hello world' | bngl new "First snippet"</pre>
  29. </p>
  30. </div>
  31. </body>
  32. </html>