Update dev overview in readme
This commit is contained in:
parent
adf07ad736
commit
a6a1b7fb28
1 changed files with 47 additions and 40 deletions
23
readme.md
23
readme.md
|
@ -110,6 +110,10 @@ To get into the rooms on your Matrix account, either add yourself to `invite` in
|
||||||
├── start.js
|
├── start.js
|
||||||
* Runtime configuration, like tokens and user info:
|
* Runtime configuration, like tokens and user info:
|
||||||
├── registration.yaml
|
├── registration.yaml
|
||||||
|
* You are here! :)
|
||||||
|
└── readme.md
|
||||||
|
* Source code
|
||||||
|
└── src
|
||||||
* The bridge's SQLite database is stored here:
|
* The bridge's SQLite database is stored here:
|
||||||
├── db
|
├── db
|
||||||
│ ├── *.sql, *.db
|
│ ├── *.sql, *.db
|
||||||
|
@ -128,7 +132,10 @@ To get into the rooms on your Matrix account, either add yourself to `invite` in
|
||||||
│ ├── discord-*.js
|
│ ├── discord-*.js
|
||||||
│ * Listening to events from Discord and dispatching them to the correct `action`:
|
│ * Listening to events from Discord and dispatching them to the correct `action`:
|
||||||
│ └── event-dispatcher.js
|
│ └── event-dispatcher.js
|
||||||
|
* Discord bot commands and menus:
|
||||||
├── discord
|
├── discord
|
||||||
|
│ ├── interactions
|
||||||
|
│ │ └── *.js
|
||||||
│ └── discord-command-handler.js
|
│ └── discord-command-handler.js
|
||||||
* Matrix-to-Discord bridging:
|
* Matrix-to-Discord bridging:
|
||||||
├── m2d
|
├── m2d
|
||||||
|
@ -144,13 +151,11 @@ To get into the rooms on your Matrix account, either add yourself to `invite` in
|
||||||
├── matrix
|
├── matrix
|
||||||
│ └── *.js
|
│ └── *.js
|
||||||
* Various files you can run once if you need them.
|
* Various files you can run once if you need them.
|
||||||
├── scripts
|
└── scripts
|
||||||
│ * First time running a new bridge? Run this file to plant a seed, which will flourish into state for the bridge:
|
* First time running a new bridge? Run this file to plant a seed, which will flourish into state for the bridge:
|
||||||
│ ├── seed.js
|
├── seed.js
|
||||||
│ * Hopefully you won't need the rest of these. Code quality varies wildly.
|
* Hopefully you won't need the rest of these. Code quality varies wildly.
|
||||||
│ └── *.js
|
└── *.js
|
||||||
* You are here! :)
|
|
||||||
└── readme.md
|
|
||||||
|
|
||||||
## Dependency justification
|
## Dependency justification
|
||||||
|
|
||||||
|
@ -160,7 +165,7 @@ To get into the rooms on your Matrix account, either add yourself to `invite` in
|
||||||
* (1) @cloudrac3r/discord-markdown: This is my fork!
|
* (1) @cloudrac3r/discord-markdown: This is my fork!
|
||||||
* (0) @cloudrac3r/giframe: This is my fork!
|
* (0) @cloudrac3r/giframe: This is my fork!
|
||||||
* (1) @cloudrac3r/html-template-tag: This is my fork!
|
* (1) @cloudrac3r/html-template-tag: This is my fork!
|
||||||
* (16) @cloudrac3r/in-your-element: This is my Matrix Appservice API library. It has several dependencies because HTTP servers have to do more than you'd think.
|
* (0) @cloudrac3r/in-your-element: This is my Matrix Appservice API library. It depends on h3 and zod, which are already pulled in by OOYE.
|
||||||
* (0) @cloudrac3r/mixin-deep: This is my fork! (It fixes a bug in regular mixin-deep.)
|
* (0) @cloudrac3r/mixin-deep: This is my fork! (It fixes a bug in regular mixin-deep.)
|
||||||
* (0) @cloudrac3r/pngjs: Lottie stickers are converted to bitmaps with the vendored Rlottie WASM build, then the bitmaps are converted to PNG with pngjs.
|
* (0) @cloudrac3r/pngjs: Lottie stickers are converted to bitmaps with the vendored Rlottie WASM build, then the bitmaps are converted to PNG with pngjs.
|
||||||
* (0) @cloudrac3r/turndown: This HTML-to-Markdown converter looked the most suitable. I forked it to change the escaping logic to match the way Discord works.
|
* (0) @cloudrac3r/turndown: This HTML-to-Markdown converter looked the most suitable. I forked it to change the escaping logic to match the way Discord works.
|
||||||
|
@ -172,6 +177,7 @@ To get into the rooms on your Matrix account, either add yourself to `invite` in
|
||||||
* (1) enquirer: Interactive prompting for the initial setup rather than forcing users to edit YAML non-interactively.
|
* (1) enquirer: Interactive prompting for the initial setup rather than forcing users to edit YAML non-interactively.
|
||||||
* (0) entities: Looks fine. No dependencies.
|
* (0) entities: Looks fine. No dependencies.
|
||||||
* (0) get-stream: Only needed if content_length_workaround is true.
|
* (0) get-stream: Only needed if content_length_workaround is true.
|
||||||
|
* (14) h3: HTTP server. OOYE needs this for the appservice listener, authmedia proxy, and more. 14 transitive dependencies is on the low end for an HTTP server.
|
||||||
* (1) heatsync: Module hot-reloader that I trust.
|
* (1) heatsync: Module hot-reloader that I trust.
|
||||||
* (1) js-yaml: Will be removed in the future after registration.yaml is converted to JSON.
|
* (1) js-yaml: Will be removed in the future after registration.yaml is converted to JSON.
|
||||||
* (0) minimist: It's already pulled in by better-sqlite3->prebuild-install.
|
* (0) minimist: It's already pulled in by better-sqlite3->prebuild-install.
|
||||||
|
@ -182,5 +188,6 @@ To get into the rooms on your Matrix account, either add yourself to `invite` in
|
||||||
* (10) stream-mime-type@1: This seems like the best option. Version 1 is used because version 2 is ESM-only.
|
* (10) stream-mime-type@1: This seems like the best option. Version 1 is used because version 2 is ESM-only.
|
||||||
* (0) try-to-catch: Not strictly necessary, but it's already pulled in by supertape, so I may as well.
|
* (0) try-to-catch: Not strictly necessary, but it's already pulled in by supertape, so I may as well.
|
||||||
* (0) xxhash-wasm: Used where cryptographically secure hashing is not required.
|
* (0) xxhash-wasm: Used where cryptographically secure hashing is not required.
|
||||||
|
* (0) zod: Input validation for the web server. It's popular and easy to use.
|
||||||
|
|
||||||
Total transitive production dependencies: 116
|
Total transitive production dependencies: 116
|
||||||
|
|
Loading…
Reference in a new issue