Add the MIT licence #47

Merged
clawbot merged 1 commits from issue-15-license into next 2026-10-04 03:07:52 +02:00
3 changed files with 36 additions and 10 deletions
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 sneak
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+14 -10
View File
@@ -1,14 +1,15 @@
# smallwebwaf # smallwebwaf
`smallwebwaf` is a simple, fast, logging web application firewall, written in Go `smallwebwaf` is a simple, fast, logging web application firewall, MIT-licensed
by [@sneak](https://sneak.berlin), for people who host their own services. It and written in Go by [@sneak](https://sneak.berlin), for people who host their
runs inside the container of the one application it protects, between your own services. It runs inside the container of the one application it protects,
reverse proxy (traefik) and the app: the app's Dockerfile builds `FROM` the between your reverse proxy (traefik) and the app: the app's Dockerfile builds
`smallwebwaf` image, traefik sends the app's requests to `smallwebwaf` on port `FROM` the `smallwebwaf` image, traefik sends the app's requests to
8080, and `smallwebwaf` passes them on to the app on `127.0.0.1:8081`. It needs `smallwebwaf` on port 8080, and `smallwebwaf` passes them on to the app on
no setting, and protects the app from the first request with defaults chosen for `127.0.0.1:8081`. It needs no setting, and protects the app from the first
a service on the open internet. It keeps its state in memory and in JSON files request with defaults chosen for a service on the open internet. It keeps its
you can read and edit, and writes a detailed JSON log line for every request. state in memory and in JSON files you can read and edit, and writes a detailed
JSON log line for every request.
Status: the first milestone is built Status: the first milestone is built
(https://git.eeqj.de/sneak/smallwebwaf/issues/13). `smallwebwaf` passes each (https://git.eeqj.de/sneak/smallwebwaf/issues/13). `smallwebwaf` passes each
@@ -431,7 +432,6 @@ so that they run in minimal containers.
- Milestone 2: rate limits per client, the country lists and the image an app - Milestone 2: rate limits per client, the country lists and the image an app
builds on (https://git.eeqj.de/sneak/smallwebwaf/issues/14). builds on (https://git.eeqj.de/sneak/smallwebwaf/issues/14).
- The licence (https://git.eeqj.de/sneak/smallwebwaf/issues/15).
- The rest of the design, in the order of the build order in - The rest of the design, in the order of the build order in
[`SPEC.md`](SPEC.md). [`SPEC.md`](SPEC.md).
@@ -442,6 +442,10 @@ so that they run in minimal containers.
and misses, and why none was adopted. and misses, and why none was adopted.
- [`REPO_POLICIES.md`](REPO_POLICIES.md): the policies this repository follows. - [`REPO_POLICIES.md`](REPO_POLICIES.md): the policies this repository follows.
## License
MIT. See [`LICENSE`](LICENSE).
## Author ## Author
[@sneak](https://sneak.berlin) [@sneak](https://sneak.berlin)
+1
View File
@@ -1,4 +1,5 @@
{ {
"license": "MIT",
"devDependencies": { "devDependencies": {
"prettier": "3.8.1" "prettier": "3.8.1"
} }