License under MIT

This commit is contained in:
Andrew-71 2024-03-17 18:26:13 +03:00
parent a62901a790
commit ebdf272ec2
4 changed files with 39 additions and 3 deletions

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 Andrew-71
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.

View file

@ -9,6 +9,21 @@ As a result of this, it is also neither secure nor idiot-proof.
* Each day, you get a txt file. You have until 23:59 of that very day to finalise it. * Each day, you get a txt file. You have until 23:59 of that very day to finalise it.
* At any moment, you can append a single line to log.txt * At any moment, you can append a single line to log.txt
* You can save named notes to document milestones, big events, or just a nice game you played this month * You can save named notes to document milestones, big events, or just a nice game you played this month
* There is also a readme.txt file (just like this one, except you get to write it!)
* You can easily export everything in a zip file for backups * You can easily export everything in a zip file for backups
* Everything is plain(text) and simple. No databases, encryption, OAuth, or anything fancy. Even the password is plainte- *wait is this a feature?* * Everything is plain(text) and simple. No databases, encryption, OAuth, or anything fancy. Even the password is plainte- *wait is this a feature?*
## Data format:
```
data
+-- day
| +-- yyyy-mm-dd.txt (ISO 8601)
| ...
+-- notes
| +-- note1.txt
| +-- note2.txt
| ...
+-- log.txt
+-- readme.txt
```

View file

@ -12,4 +12,5 @@
# Long-medium term # Long-medium term
* *Go* dependency-less * *Go* dependency-less
* Improve logging, log to files * Improve logging, log to files
* Make the CLI better * Make the CLI better
* Timezones?

View file

@ -1 +0,0 @@
curl -XPOST -d "test" -eu 'test:pass' 'localhost:7101/api/log'