Update todo.md
This commit is contained in:
parent
2126fe9147
commit
dcbdf8ba1d
31
todo.md
31
todo.md
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
# Vague plan
|
# Vague plan
|
||||||
|
|
||||||
> [!NOTE]
|
> [!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.
|
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
|
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
|
||||||
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user