From dcbdf8ba1df2c77a152528b3b061d4d259dc7bed Mon Sep 17 00:00:00 2001 From: Uthman Fatih Date: Fri, 30 Oct 2026 17:47:48 +0000 Subject: [PATCH] Update todo.md --- todo.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index b19f5a7..909776b 100644 --- a/todo.md +++ b/todo.md @@ -1,4 +1,3 @@ - # Vague plan > [!NOTE] @@ -53,3 +52,33 @@ Plugin support written in Lua Custom folders can be created and will be ignored by anical, i.e. a config folder which a plugin reads and generates hooks and middleware files from. Plugins cannot be created at runtime, hooks and middleware can. Running hooks and middleware is atomic so it never exits unfinished + +### Folder structure + +``` +assets/ +├── anical.png +└── banner.png +internal/ +├── config.go # load and parse configs, including flags +├── fetch/ +│ ├── format/ +│ │ ├── manga.go # format manga-related data +│ │ └── anime.go # format anime-related data +│ └── fetch.go # wrapper for fetching, including caching +├── calendar/ +│ ├── ical.go # generate iCal output +│ └── webdav/ # WebDAV server components +├── debug/ +│ └── debug.go # extra information shown in debug mode +└── plugin/ + ├── luaApi.go # interface between Go and Lua plugins + └── plugin.go # manage and run plugins + main.go + .gitignore + go.mod + go.sum + LICENSE + readme.md + todo.md +```