diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..a6130e9 --- /dev/null +++ b/LICENCE @@ -0,0 +1,12 @@ +Copyright (c) 2022-2024, flashwave + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..ba73be0 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Awaki + +This *was* the source for the URL redirect/shortener service for Flashii hosted on fii.moe. +Its functionality has been absorbed by the main [Misuzu](https://patchii.net/flashii/misuzu) codebase. + +I noticed I never added a LICENCE file to this project so please expect my retroactive offerring of a little bit of 0BSD. +An example config has also been added if you want to use this for some reason. diff --git a/awaki.cfg.example b/awaki.cfg.example new file mode 100644 index 0000000..c743a97 --- /dev/null +++ b/awaki.cfg.example @@ -0,0 +1,9 @@ +database:dsn mariadb://user:pass@host/dbname?socket=path-if-host-is:unix:&charset=utf8mb4 + +urls:user_profile %s://flashii.net/profile.php?u=%s +urls:forum_category %s://flashii.net/forum/%s +urls:forum_topic %s://flashii.net/forum/topics/%s +urls:forum_post %s://flashii.net/forum/posts/%s + +satori:format https://tako.zone/g/%s +satori:secret beans