From ebdf272ec2fb40ff8471d32ab083fbcdd77e4761 Mon Sep 17 00:00:00 2001 From: Andrew-71 Date: Sun, 17 Mar 2024 18:26:13 +0300 Subject: [PATCH] License under MIT --- LICENSE | 21 +++++++++++++++++++++ README.md | 17 ++++++++++++++++- TODO.md | 3 ++- log_curl.sh | 1 - 4 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 LICENSE delete mode 100644 log_curl.sh diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..315caaa --- /dev/null +++ b/LICENSE @@ -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. \ No newline at end of file diff --git a/README.md b/README.md index 20b7e1f..8103585 100644 --- a/README.md +++ b/README.md @@ -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. * 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 +* 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 -* Everything is plain(text) and simple. No databases, encryption, OAuth, or anything fancy. Even the password is plainte- *wait is this a feature?* \ No newline at end of file +* 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 +``` \ No newline at end of file diff --git a/TODO.md b/TODO.md index 6d959d0..6fe5f6f 100644 --- a/TODO.md +++ b/TODO.md @@ -12,4 +12,5 @@ # Long-medium term * *Go* dependency-less * Improve logging, log to files -* Make the CLI better \ No newline at end of file +* Make the CLI better +* Timezones? \ No newline at end of file diff --git a/log_curl.sh b/log_curl.sh deleted file mode 100644 index 28740a7..0000000 --- a/log_curl.sh +++ /dev/null @@ -1 +0,0 @@ -curl -XPOST -d "test" -eu 'test:pass' 'localhost:7101/api/log' \ No newline at end of file