@maudecode/kanvil 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +35 -2
  3. package/apps/server/.env.example +41 -0
  4. package/apps/server/dist/auth-BscXb1NQ.mjs +2666 -0
  5. package/apps/server/dist/config-Qxr_7oqZ.mjs +575 -0
  6. package/apps/server/dist/configure.mjs +23 -0
  7. package/apps/server/dist/index.mjs +1754 -0
  8. package/apps/server/dist/migrate-C9f4ozB4.mjs +17 -0
  9. package/apps/server/dist/migrate.mjs +12 -0
  10. package/apps/server/dist/recover.mjs +52 -0
  11. package/apps/server/drizzle/0000_foundation.sql +437 -0
  12. package/apps/server/drizzle/0001_claim_identity.sql +1 -0
  13. package/apps/server/drizzle/0002_transactional_attachments.sql +6 -0
  14. package/apps/server/drizzle/0003_durable_claim_fence.sql +4 -0
  15. package/apps/server/drizzle/0004_lumpy_archangel.sql +6 -0
  16. package/apps/server/drizzle/0005_unique_toxin.sql +28 -0
  17. package/apps/server/drizzle/0006_instance_services.sql +48 -0
  18. package/apps/server/drizzle/0007_optional_broker.sql +6 -0
  19. package/apps/server/drizzle/0008_workspaces.sql +37 -0
  20. package/apps/server/drizzle/0009_project_icons.sql +6 -0
  21. package/apps/server/drizzle/0010_project_labels.sql +14 -0
  22. package/apps/server/drizzle/0011_due_dates.sql +1 -0
  23. package/apps/server/drizzle/0012_label_colors.sql +7 -0
  24. package/apps/server/drizzle/meta/0000_snapshot.json +3210 -0
  25. package/apps/server/drizzle/meta/0001_snapshot.json +3216 -0
  26. package/apps/server/drizzle/meta/0002_snapshot.json +3255 -0
  27. package/apps/server/drizzle/meta/0003_snapshot.json +3262 -0
  28. package/apps/server/drizzle/meta/0004_snapshot.json +3302 -0
  29. package/apps/server/drizzle/meta/0005_snapshot.json +3518 -0
  30. package/apps/server/drizzle/meta/0006_snapshot.json +3842 -0
  31. package/apps/server/drizzle/meta/0007_snapshot.json +3874 -0
  32. package/apps/server/drizzle/meta/0008_snapshot.json +4051 -0
  33. package/apps/server/drizzle/meta/0009_snapshot.json +4105 -0
  34. package/apps/server/drizzle/meta/0010_snapshot.json +4174 -0
  35. package/apps/server/drizzle/meta/0011_snapshot.json +4180 -0
  36. package/apps/server/drizzle/meta/0012_snapshot.json +4226 -0
  37. package/apps/server/drizzle/meta/_journal.json +97 -0
  38. package/apps/web/dist/apple-touch-icon.png +0 -0
  39. package/apps/web/dist/assets/CompositeItem-D9KvUNiq.js +1 -0
  40. package/apps/web/dist/assets/admin-settings-B0u2-aAK.js +1 -0
  41. package/apps/web/dist/assets/camera-Cv5wKkKn.js +1 -0
  42. package/apps/web/dist/assets/date-picker-lhXxKIlN.js +1 -0
  43. package/apps/web/dist/assets/ellipsis-CN74O_EP.js +1 -0
  44. package/apps/web/dist/assets/forms-456UbfIC.js +92 -0
  45. package/apps/web/dist/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
  46. package/apps/web/dist/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
  47. package/apps/web/dist/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
  48. package/apps/web/dist/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
  49. package/apps/web/dist/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
  50. package/apps/web/dist/assets/index-CVzq9BMC.css +2 -0
  51. package/apps/web/dist/assets/index-Dt8wYIVA.js +51 -0
  52. package/apps/web/dist/assets/instance-BCNvOvYa.js +1 -0
  53. package/apps/web/dist/assets/list-order-1UoOT5nR.js +1 -0
  54. package/apps/web/dist/assets/lucide-U995NW8E.js +1 -0
  55. package/apps/web/dist/assets/member-directory-C81ugis6.js +1 -0
  56. package/apps/web/dist/assets/popover-BWk65ByY.js +1 -0
  57. package/apps/web/dist/assets/project-settings-DnpVfVf5.js +1 -0
  58. package/apps/web/dist/assets/rotate-ccw-BLeWpuu1.js +1 -0
  59. package/apps/web/dist/assets/settings-DUXuOgWn.js +1 -0
  60. package/apps/web/dist/assets/settings-layout-xR4hrfte.js +1 -0
  61. package/apps/web/dist/assets/table-BQbZG4BK.js +1 -0
  62. package/apps/web/dist/assets/ticket-detail-B9M_eaVu.js +2 -0
  63. package/apps/web/dist/assets/ticket-editor-Chg1lDuU.js +1 -0
  64. package/apps/web/dist/assets/ticket-list-C8500tXj.js +5 -0
  65. package/apps/web/dist/assets/ticket-tags-cbwQ93Gt.js +1 -0
  66. package/apps/web/dist/assets/upload-5Wg5ou_Z.js +1 -0
  67. package/apps/web/dist/assets/workspace-settings-Dte44Kkx.js +1 -0
  68. package/apps/web/dist/brand/icon-192.png +0 -0
  69. package/apps/web/dist/brand/icon-512.png +0 -0
  70. package/apps/web/dist/brand/mark-blue.svg +1 -0
  71. package/apps/web/dist/brand/mark-white.svg +1 -0
  72. package/apps/web/dist/brand/mark.svg +1 -0
  73. package/apps/web/dist/brand/maskable-512.png +0 -0
  74. package/apps/web/dist/brand/social.png +0 -0
  75. package/apps/web/dist/favicon.ico +0 -0
  76. package/apps/web/dist/favicon.svg +1 -0
  77. package/apps/web/dist/fonts/OFL.txt +93 -0
  78. package/apps/web/dist/fonts/ibm-plex-sans-latin.woff2 +0 -0
  79. package/apps/web/dist/icon.svg +1 -0
  80. package/apps/web/dist/index.html +31 -0
  81. package/apps/web/dist/site.webmanifest +29 -0
  82. package/apps/web/dist/third-party-icons.txt +64 -0
  83. package/apps/web/dist/third-party-themes.txt +548 -0
  84. package/bin/kanvil.mjs +27 -0
  85. package/compose.yml +66 -0
  86. package/docs/api.md +87 -0
  87. package/docs/branding.md +13 -0
  88. package/docs/design.md +37 -0
  89. package/docs/infrastructure.md +94 -0
  90. package/docs/mobile.md +79 -0
  91. package/docs/plan.md +111 -0
  92. package/docs/releasing.md +18 -0
  93. package/docs/self-hosting.md +204 -0
  94. package/docs/themes.md +38 -0
  95. package/docs/verification.md +83 -0
  96. package/docs/workspaces.md +21 -0
  97. package/package.json +45 -4
@@ -0,0 +1,548 @@
1
+ Kanvil bundled theme palette notices
2
+
3
+ Palette values are adapted for the Kanvil interface. Theme picker preview artwork is adapted from T3 Code. No upstream logos are bundled.
4
+
5
+ Catppuccin
6
+ https://github.com/catppuccin/palette
7
+
8
+ MIT License
9
+
10
+ Copyright (c) 2021 Catppuccin
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+
30
+
31
+ Solarized
32
+ https://github.com/altercation/solarized
33
+
34
+ Copyright (c) 2011 Ethan Schoonover
35
+
36
+ Permission is hereby granted, free of charge, to any person obtaining a copy
37
+ of this software and associated documentation files (the "Software"), to deal
38
+ in the Software without restriction, including without limitation the rights
39
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
40
+ copies of the Software, and to permit persons to whom the Software is
41
+ furnished to do so, subject to the following conditions:
42
+
43
+ The above copyright notice and this permission notice shall be included in
44
+ all copies or substantial portions of the Software.
45
+
46
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
47
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
48
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
49
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
50
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
51
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
52
+ THE SOFTWARE.
53
+
54
+
55
+
56
+ GitHub / Primer
57
+ https://github.com/primer/primitives
58
+
59
+ The MIT License (MIT)
60
+
61
+ Copyright (c) 2018 GitHub Inc.
62
+
63
+ Permission is hereby granted, free of charge, to any person obtaining a copy
64
+ of this software and associated documentation files (the "Software"), to deal
65
+ in the Software without restriction, including without limitation the rights
66
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
67
+ copies of the Software, and to permit persons to whom the Software is
68
+ furnished to do so, subject to the following conditions:
69
+
70
+ The above copyright notice and this permission notice shall be included in all
71
+ copies or substantial portions of the Software.
72
+
73
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
74
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
75
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
76
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
77
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
78
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
79
+ SOFTWARE.
80
+
81
+
82
+ Dracula / Alucard
83
+ https://github.com/dracula/dracula-theme
84
+
85
+ The MIT License (MIT)
86
+
87
+ Copyright (c) 2023 Dracula Theme
88
+
89
+ Permission is hereby granted, free of charge, to any person obtaining a copy
90
+ of this software and associated documentation files (the "Software"), to deal
91
+ in the Software without restriction, including without limitation the rights
92
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
93
+ copies of the Software, and to permit persons to whom the Software is
94
+ furnished to do so, subject to the following conditions:
95
+
96
+ The above copyright notice and this permission notice shall be included in all
97
+ copies or substantial portions of the Software.
98
+
99
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
100
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
101
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
102
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
103
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
105
+ SOFTWARE.
106
+
107
+
108
+ One Dark
109
+ https://github.com/atom/one-dark-syntax
110
+
111
+ Copyright (c) 2016 GitHub Inc.
112
+
113
+ Permission is hereby granted, free of charge, to any person obtaining
114
+ a copy of this software and associated documentation files (the
115
+ "Software"), to deal in the Software without restriction, including
116
+ without limitation the rights to use, copy, modify, merge, publish,
117
+ distribute, sublicense, and/or sell copies of the Software, and to
118
+ permit persons to whom the Software is furnished to do so, subject to
119
+ the following conditions:
120
+
121
+ The above copyright notice and this permission notice shall be
122
+ included in all copies or substantial portions of the Software.
123
+
124
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
125
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
126
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
127
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
128
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
129
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
130
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
131
+
132
+
133
+ One Light
134
+ https://github.com/atom/one-light-syntax
135
+
136
+ Copyright (c) 2016 GitHub Inc.
137
+
138
+ Permission is hereby granted, free of charge, to any person obtaining
139
+ a copy of this software and associated documentation files (the
140
+ "Software"), to deal in the Software without restriction, including
141
+ without limitation the rights to use, copy, modify, merge, publish,
142
+ distribute, sublicense, and/or sell copies of the Software, and to
143
+ permit persons to whom the Software is furnished to do so, subject to
144
+ the following conditions:
145
+
146
+ The above copyright notice and this permission notice shall be
147
+ included in all copies or substantial portions of the Software.
148
+
149
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
150
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
151
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
152
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
153
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
154
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
155
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
156
+
157
+
158
+ Nord
159
+ https://github.com/nordtheme/nord
160
+
161
+ MIT License (MIT)
162
+
163
+ Copyright (c) 2016-present Sven Greb <development@svengreb.de> (https://www.svengreb.de)
164
+
165
+ Permission is hereby granted, free of charge, to any person obtaining a copy
166
+ of this software and associated documentation files (the "Software"), to deal
167
+ in the Software without restriction, including without limitation the rights
168
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
169
+ copies of the Software, and to permit persons to whom the Software is
170
+ furnished to do so, subject to the following conditions:
171
+
172
+ The above copyright notice and this permission notice shall be included in all
173
+ copies or substantial portions of the Software.
174
+
175
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
176
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
177
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
178
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
179
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
180
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
181
+ SOFTWARE.
182
+
183
+
184
+ Tokyo Night
185
+ https://github.com/folke/tokyonight.nvim
186
+
187
+ Apache License
188
+ Version 2.0, January 2004
189
+ http://www.apache.org/licenses/
190
+
191
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
192
+
193
+ 1. Definitions.
194
+
195
+ "License" shall mean the terms and conditions for use, reproduction,
196
+ and distribution as defined by Sections 1 through 9 of this document.
197
+
198
+ "Licensor" shall mean the copyright owner or entity authorized by
199
+ the copyright owner that is granting the License.
200
+
201
+ "Legal Entity" shall mean the union of the acting entity and all
202
+ other entities that control, are controlled by, or are under common
203
+ control with that entity. For the purposes of this definition,
204
+ "control" means (i) the power, direct or indirect, to cause the
205
+ direction or management of such entity, whether by contract or
206
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
207
+ outstanding shares, or (iii) beneficial ownership of such entity.
208
+
209
+ "You" (or "Your") shall mean an individual or Legal Entity
210
+ exercising permissions granted by this License.
211
+
212
+ "Source" form shall mean the preferred form for making modifications,
213
+ including but not limited to software source code, documentation
214
+ source, and configuration files.
215
+
216
+ "Object" form shall mean any form resulting from mechanical
217
+ transformation or translation of a Source form, including but
218
+ not limited to compiled object code, generated documentation,
219
+ and conversions to other media types.
220
+
221
+ "Work" shall mean the work of authorship, whether in Source or
222
+ Object form, made available under the License, as indicated by a
223
+ copyright notice that is included in or attached to the work
224
+ (an example is provided in the Appendix below).
225
+
226
+ "Derivative Works" shall mean any work, whether in Source or Object
227
+ form, that is based on (or derived from) the Work and for which the
228
+ editorial revisions, annotations, elaborations, or other modifications
229
+ represent, as a whole, an original work of authorship. For the purposes
230
+ of this License, Derivative Works shall not include works that remain
231
+ separable from, or merely link (or bind by name) to the interfaces of,
232
+ the Work and Derivative Works thereof.
233
+
234
+ "Contribution" shall mean any work of authorship, including
235
+ the original version of the Work and any modifications or additions
236
+ to that Work or Derivative Works thereof, that is intentionally
237
+ submitted to Licensor for inclusion in the Work by the copyright owner
238
+ or by an individual or Legal Entity authorized to submit on behalf of
239
+ the copyright owner. For the purposes of this definition, "submitted"
240
+ means any form of electronic, verbal, or written communication sent
241
+ to the Licensor or its representatives, including but not limited to
242
+ communication on electronic mailing lists, source code control systems,
243
+ and issue tracking systems that are managed by, or on behalf of, the
244
+ Licensor for the purpose of discussing and improving the Work, but
245
+ excluding communication that is conspicuously marked or otherwise
246
+ designated in writing by the copyright owner as "Not a Contribution."
247
+
248
+ "Contributor" shall mean Licensor and any individual or Legal Entity
249
+ on behalf of whom a Contribution has been received by Licensor and
250
+ subsequently incorporated within the Work.
251
+
252
+ 2. Grant of Copyright License. Subject to the terms and conditions of
253
+ this License, each Contributor hereby grants to You a perpetual,
254
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
255
+ copyright license to reproduce, prepare Derivative Works of,
256
+ publicly display, publicly perform, sublicense, and distribute the
257
+ Work and such Derivative Works in Source or Object form.
258
+
259
+ 3. Grant of Patent License. Subject to the terms and conditions of
260
+ this License, each Contributor hereby grants to You a perpetual,
261
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
262
+ (except as stated in this section) patent license to make, have made,
263
+ use, offer to sell, sell, import, and otherwise transfer the Work,
264
+ where such license applies only to those patent claims licensable
265
+ by such Contributor that are necessarily infringed by their
266
+ Contribution(s) alone or by combination of their Contribution(s)
267
+ with the Work to which such Contribution(s) was submitted. If You
268
+ institute patent litigation against any entity (including a
269
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
270
+ or a Contribution incorporated within the Work constitutes direct
271
+ or contributory patent infringement, then any patent licenses
272
+ granted to You under this License for that Work shall terminate
273
+ as of the date such litigation is filed.
274
+
275
+ 4. Redistribution. You may reproduce and distribute copies of the
276
+ Work or Derivative Works thereof in any medium, with or without
277
+ modifications, and in Source or Object form, provided that You
278
+ meet the following conditions:
279
+
280
+ (a) You must give any other recipients of the Work or
281
+ Derivative Works a copy of this License; and
282
+
283
+ (b) You must cause any modified files to carry prominent notices
284
+ stating that You changed the files; and
285
+
286
+ (c) You must retain, in the Source form of any Derivative Works
287
+ that You distribute, all copyright, patent, trademark, and
288
+ attribution notices from the Source form of the Work,
289
+ excluding those notices that do not pertain to any part of
290
+ the Derivative Works; and
291
+
292
+ (d) If the Work includes a "NOTICE" text file as part of its
293
+ distribution, then any Derivative Works that You distribute must
294
+ include a readable copy of the attribution notices contained
295
+ within such NOTICE file, excluding those notices that do not
296
+ pertain to any part of the Derivative Works, in at least one
297
+ of the following places: within a NOTICE text file distributed
298
+ as part of the Derivative Works; within the Source form or
299
+ documentation, if provided along with the Derivative Works; or,
300
+ within a display generated by the Derivative Works, if and
301
+ wherever such third-party notices normally appear. The contents
302
+ of the NOTICE file are for informational purposes only and
303
+ do not modify the License. You may add Your own attribution
304
+ notices within Derivative Works that You distribute, alongside
305
+ or as an addendum to the NOTICE text from the Work, provided
306
+ that such additional attribution notices cannot be construed
307
+ as modifying the License.
308
+
309
+ You may add Your own copyright statement to Your modifications and
310
+ may provide additional or different license terms and conditions
311
+ for use, reproduction, or distribution of Your modifications, or
312
+ for any such Derivative Works as a whole, provided Your use,
313
+ reproduction, and distribution of the Work otherwise complies with
314
+ the conditions stated in this License.
315
+
316
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
317
+ any Contribution intentionally submitted for inclusion in the Work
318
+ by You to the Licensor shall be under the terms and conditions of
319
+ this License, without any additional terms or conditions.
320
+ Notwithstanding the above, nothing herein shall supersede or modify
321
+ the terms of any separate license agreement you may have executed
322
+ with Licensor regarding such Contributions.
323
+
324
+ 6. Trademarks. This License does not grant permission to use the trade
325
+ names, trademarks, service marks, or product names of the Licensor,
326
+ except as required for reasonable and customary use in describing the
327
+ origin of the Work and reproducing the content of the NOTICE file.
328
+
329
+ 7. Disclaimer of Warranty. Unless required by applicable law or
330
+ agreed to in writing, Licensor provides the Work (and each
331
+ Contributor provides its Contributions) on an "AS IS" BASIS,
332
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
333
+ implied, including, without limitation, any warranties or conditions
334
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
335
+ PARTICULAR PURPOSE. You are solely responsible for determining the
336
+ appropriateness of using or redistributing the Work and assume any
337
+ risks associated with Your exercise of permissions under this License.
338
+
339
+ 8. Limitation of Liability. In no event and under no legal theory,
340
+ whether in tort (including negligence), contract, or otherwise,
341
+ unless required by applicable law (such as deliberate and grossly
342
+ negligent acts) or agreed to in writing, shall any Contributor be
343
+ liable to You for damages, including any direct, indirect, special,
344
+ incidental, or consequential damages of any character arising as a
345
+ result of this License or out of the use or inability to use the
346
+ Work (including but not limited to damages for loss of goodwill,
347
+ work stoppage, computer failure or malfunction, or any and all
348
+ other commercial damages or losses), even if such Contributor
349
+ has been advised of the possibility of such damages.
350
+
351
+ 9. Accepting Warranty or Additional Liability. While redistributing
352
+ the Work or Derivative Works thereof, You may choose to offer,
353
+ and charge a fee for, acceptance of support, warranty, indemnity,
354
+ or other liability obligations and/or rights consistent with this
355
+ License. However, in accepting such obligations, You may act only
356
+ on Your own behalf and on Your sole responsibility, not on behalf
357
+ of any other Contributor, and only if You agree to indemnify,
358
+ defend, and hold each Contributor harmless for any liability
359
+ incurred by, or claims asserted against, such Contributor by reason
360
+ of your accepting any such warranty or additional liability.
361
+
362
+ END OF TERMS AND CONDITIONS
363
+
364
+ APPENDIX: How to apply the Apache License to your work.
365
+
366
+ To apply the Apache License to your work, attach the following
367
+ boilerplate notice, with the fields enclosed by brackets "[]"
368
+ replaced with your own identifying information. (Don't include
369
+ the brackets!) The text should be enclosed in the appropriate
370
+ comment syntax for the file format. We also recommend that a
371
+ file or class name and description of purpose be included on the
372
+ same "printed page" as the copyright notice for easier
373
+ identification within third-party archives.
374
+
375
+ Copyright [yyyy] [name of copyright owner]
376
+
377
+ Licensed under the Apache License, Version 2.0 (the "License");
378
+ you may not use this file except in compliance with the License.
379
+ You may obtain a copy of the License at
380
+
381
+ http://www.apache.org/licenses/LICENSE-2.0
382
+
383
+ Unless required by applicable law or agreed to in writing, software
384
+ distributed under the License is distributed on an "AS IS" BASIS,
385
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
386
+ See the License for the specific language governing permissions and
387
+ limitations under the License.
388
+
389
+
390
+ Rose Pine
391
+ https://github.com/rose-pine/palette
392
+
393
+ MIT License
394
+
395
+ Copyright (c) mvllow
396
+
397
+ Permission is hereby granted, free of charge, to any person obtaining a copy
398
+ of this software and associated documentation files (the "Software"), to deal
399
+ in the Software without restriction, including without limitation the rights
400
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
401
+ copies of the Software, and to permit persons to whom the Software is
402
+ furnished to do so, subject to the following conditions:
403
+
404
+ The above copyright notice and this permission notice shall be included in all
405
+ copies or substantial portions of the Software.
406
+
407
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
408
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
409
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
410
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
411
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
412
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
413
+ SOFTWARE.
414
+
415
+
416
+ Everforest
417
+ https://github.com/sainnhe/everforest
418
+
419
+ MIT License
420
+
421
+ Copyright (c) 2019 sainnhe
422
+
423
+ Permission is hereby granted, free of charge, to any person obtaining a copy
424
+ of this software and associated documentation files (the "Software"), to deal
425
+ in the Software without restriction, including without limitation the rights
426
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
427
+ copies of the Software, and to permit persons to whom the Software is
428
+ furnished to do so, subject to the following conditions:
429
+
430
+ The above copyright notice and this permission notice shall be included in all
431
+ copies or substantial portions of the Software.
432
+
433
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
434
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
435
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
436
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
437
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
438
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
439
+ SOFTWARE.
440
+
441
+
442
+ Monokai
443
+ https://github.com/tanvirtin/monokai.nvim
444
+
445
+ MIT License
446
+
447
+ Copyright (c) 2021 Tanvir Islam
448
+
449
+ Permission is hereby granted, free of charge, to any person obtaining a copy
450
+ of this software and associated documentation files (the "Software"), to deal
451
+ in the Software without restriction, including without limitation the rights
452
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
453
+ copies of the Software, and to permit persons to whom the Software is
454
+ furnished to do so, subject to the following conditions:
455
+
456
+ The above copyright notice and this permission notice shall be included in all
457
+ copies or substantial portions of the Software.
458
+
459
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
460
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
461
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
462
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
463
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
464
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
465
+ SOFTWARE.
466
+
467
+
468
+ Night Owl
469
+ https://github.com/sdras/night-owl-vscode-theme
470
+
471
+ MIT License
472
+
473
+ Copyright (c) 2018 Sarah Drasner
474
+
475
+ Permission is hereby granted, free of charge, to any person obtaining a copy
476
+ of this software and associated documentation files (the "Software"), to deal
477
+ in the Software without restriction, including without limitation the rights
478
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
479
+ copies of the Software, and to permit persons to whom the Software is
480
+ furnished to do so, subject to the following conditions:
481
+
482
+ The above copyright notice and this permission notice shall be included in all
483
+ copies or substantial portions of the Software.
484
+
485
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
486
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
487
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
488
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
489
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
490
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
491
+ SOFTWARE.
492
+
493
+
494
+ Ayu
495
+ https://github.com/ayu-theme/ayu-colors
496
+
497
+ MIT License
498
+
499
+ Copyright (c) Konstantin Pschera <me@kons.ch> (kons.ch)
500
+
501
+ Permission is hereby granted, free of charge, to any person obtaining a copy
502
+ of this software and associated documentation files (the "Software"), to deal
503
+ in the Software without restriction, including without limitation the rights
504
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
505
+ copies of the Software, and to permit persons to whom the Software is
506
+ furnished to do so, subject to the following conditions:
507
+
508
+ The above copyright notice and this permission notice shall be included in all
509
+ copies or substantial portions of the Software.
510
+
511
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
512
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
513
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
514
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
515
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
516
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
517
+ SOFTWARE.
518
+
519
+
520
+ Gruvbox
521
+ https://github.com/morhetz/gruvbox
522
+ Author: morhetz. The upstream README identifies the license as MIT/X11. Adapted palette values only.
523
+
524
+
525
+ T3 Code theme picker preview artwork
526
+ Adapted from ThemePreviewCircles.tsx and shared themePreview.ts.
527
+
528
+ MIT License
529
+
530
+ Copyright (c) 2026 T3 Tools Inc.
531
+
532
+ Permission is hereby granted, free of charge, to any person obtaining a copy
533
+ of this software and associated documentation files (the "Software"), to deal
534
+ in the Software without restriction, including without limitation the rights
535
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
536
+ copies of the Software, and to permit persons to whom the Software is
537
+ furnished to do so, subject to the following conditions:
538
+
539
+ The above copyright notice and this permission notice shall be included in all
540
+ copies or substantial portions of the Software.
541
+
542
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
543
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
544
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
545
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
546
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
547
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
548
+ SOFTWARE.
package/bin/kanvil.mjs ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env node
2
+ import { existsSync, readFileSync } from "node:fs";
3
+
4
+ const command = process.argv[2] ?? "start";
5
+ if (command === "--version") {
6
+ console.info(
7
+ JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8")).version,
8
+ );
9
+ } else if (command === "--help") {
10
+ console.info(
11
+ "Usage: kanvil [start | configure --production https://kanvil.example.com | migrate | recover --email admin@example.com]\nReads .env from the current directory. Requires Node 24 and PostgreSQL 18.",
12
+ );
13
+ } else {
14
+ const entries = {
15
+ start: "index",
16
+ configure: "configure",
17
+ migrate: "migrate",
18
+ recover: "recover",
19
+ };
20
+ if (!Object.hasOwn(entries, command)) throw new Error(`Unknown command: ${command}. Use --help.`);
21
+ if (process.argv[2]) process.argv.splice(2, 1);
22
+ if (command !== "configure") {
23
+ if (existsSync(".env")) process.loadEnvFile(".env");
24
+ process.env.NODE_ENV ??= "production";
25
+ }
26
+ await import(new URL(`../apps/server/dist/${entries[command]}.mjs`, import.meta.url));
27
+ }
package/compose.yml ADDED
@@ -0,0 +1,66 @@
1
+ name: kanvil
2
+ services:
3
+ app:
4
+ image: ${KANVIL_IMAGE:-ghcr.io/maudecode/kanvil:latest}
5
+ restart: unless-stopped
6
+ environment:
7
+ NODE_ENV: production
8
+ HOST: 0.0.0.0
9
+ PORT: "5180"
10
+ DATABASE_URL: postgres://kanvil:${POSTGRES_PASSWORD:?Generate an instance configuration}@db:5432/${KANVIL_DATABASE:-kanvil}
11
+ BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET:?Generate an instance configuration}
12
+ KANVIL_SETUP_TOKEN: ${KANVIL_SETUP_TOKEN:-}
13
+ KANVIL_URL: ${KANVIL_URL:?Set your public HTTPS URL}
14
+ KANVIL_TRUSTED_ORIGINS: ${KANVIL_TRUSTED_ORIGINS:-}
15
+ OIDC_DISCOVERY_URL: ${OIDC_DISCOVERY_URL:-}
16
+ OIDC_CLIENT_ID: ${OIDC_CLIENT_ID:-}
17
+ OIDC_CLIENT_SECRET: ${OIDC_CLIENT_SECRET:-}
18
+ OIDC_NAME: ${OIDC_NAME:-PocketID}
19
+ KANVIL_PUSH_ENABLED: ${KANVIL_PUSH_ENABLED:-false}
20
+ EXPO_ACCESS_TOKEN: ${EXPO_ACCESS_TOKEN:-}
21
+ KANVIL_STORAGE_PROVIDER: ${KANVIL_STORAGE_PROVIDER:-}
22
+ S3_ENDPOINT: ${S3_ENDPOINT:-}
23
+ S3_REGION: ${S3_REGION:-us-east-1}
24
+ S3_BUCKET: ${S3_BUCKET:-}
25
+ S3_PREFIX: ${S3_PREFIX:-kanvil/}
26
+ S3_FORCE_PATH_STYLE: ${S3_FORCE_PATH_STYLE:-true}
27
+ S3_ACCESS_KEY_ID: ${S3_ACCESS_KEY_ID:-}
28
+ S3_SECRET_ACCESS_KEY: ${S3_SECRET_ACCESS_KEY:-}
29
+ KANVIL_SEARCH_PROVIDER: ${KANVIL_SEARCH_PROVIDER:-}
30
+ ELASTICSEARCH_URL: ${ELASTICSEARCH_URL:-}
31
+ ELASTICSEARCH_INDEX: ${ELASTICSEARCH_INDEX:-}
32
+ ELASTICSEARCH_AUTH: ${ELASTICSEARCH_AUTH:-}
33
+ ELASTICSEARCH_API_KEY: ${ELASTICSEARCH_API_KEY:-}
34
+ ELASTICSEARCH_USERNAME: ${ELASTICSEARCH_USERNAME:-}
35
+ ELASTICSEARCH_PASSWORD: ${ELASTICSEARCH_PASSWORD:-}
36
+ KANVIL_BROKER_PROVIDER: ${KANVIL_BROKER_PROVIDER:-}
37
+ RABBITMQ_URL: ${RABBITMQ_URL:-}
38
+ RABBITMQ_EXCHANGE: ${RABBITMQ_EXCHANGE:-kanvil.events}
39
+ ports:
40
+ - "127.0.0.1:${KANVIL_PORT:-5180}:5180"
41
+ depends_on:
42
+ db:
43
+ condition: service_healthy
44
+ read_only: true
45
+ tmpfs:
46
+ - /tmp
47
+ security_opt:
48
+ - no-new-privileges:true
49
+ cap_drop:
50
+ - ALL
51
+ db:
52
+ image: postgres:18
53
+ restart: unless-stopped
54
+ environment:
55
+ POSTGRES_USER: kanvil
56
+ POSTGRES_DB: ${KANVIL_DATABASE:-kanvil}
57
+ POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?Generate an instance configuration}
58
+ volumes:
59
+ - postgres-data:/var/lib/postgresql
60
+ healthcheck:
61
+ test: ["CMD-SHELL", 'pg_isready -U "$$POSTGRES_USER" -d "$$POSTGRES_DB"']
62
+ interval: 2s
63
+ timeout: 3s
64
+ retries: 30
65
+ volumes:
66
+ postgres-data: