diff options
| author | Fuwn <[email protected]> | 2022-04-14 03:01:43 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-04-14 03:01:43 +0000 |
| commit | 63a257c2e23876d19e0d9b78c7b92700ba366704 (patch) | |
| tree | 3fde0625cafe3724cbd7600318c84340695cbb51 | |
| parent | build: compile with c++23 working draft (diff) | |
| download | maple-63a257c2e23876d19e0d9b78c7b92700ba366704.tar.xz maple-63a257c2e23876d19e0d9b78c7b92700ba366704.zip | |
feat: add hacking steps
Also update lines-of-code count.
Also, also, the last few commits were made on a six-hour flight...
| -rw-r--r-- | README.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,7 +1,7 @@ # Maple A very simple static Gemini server; written within a single file and liberally -spanning 135 lines-of-code. +spanning 152 lines-of-code. ## Usage @@ -37,6 +37,20 @@ field which should be modified is the `ports`, if you have to. 1. Build: `ninja` (requires [Ninja](https://ninja-build.org/)) 2. Run: `out/maple` +### Hacking + +If you decide to tamper with Maple, you should give your commits a test. As +there isn't a test suite yet, feel free to use any of these examples: + +```bash +# Using OpenSSL directly to debug different requests: +$ openssl s_client -ign_eof -quiet -connect localhost:1965 <<< \ +> "gemini://localhost:1965" + +# Using Bollux to debug proper requests... or any client! +$ bollux localhost +``` + ## Capsules using Maple [Add yours!](https://github.com/gemrest/maple/edit/main/README.md) |