webring 0.0.0-dev.706

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,280 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.5.1](https://github.com/shepherdjerred/webring/compare/v1.5.0...v1.5.1) (2026-02-08)
9
+
10
+ ### Bug Fixes
11
+
12
+ - **deps:** update dependency @shepherdjerred/dagger-utils to ^0.8.0 ([5a42e5c](https://github.com/shepherdjerred/webring/commit/5a42e5c64de5e5ef22bfbfc5c1e682898521b42e))
13
+
14
+ ## [1.5.0](https://github.com/shepherdjerred/webring/compare/v1.4.1...v1.5.0) (2026-01-20)
15
+
16
+ ### Features
17
+
18
+ - add Plausible analytics to TypeDoc docs ([e416ae6](https://github.com/shepherdjerred/webring/commit/e416ae678886112973910f819fe2062c027043b4))
19
+
20
+ ### Bug Fixes
21
+
22
+ - use customJs instead of invalid customHead option for Plausible ([4c7b1d7](https://github.com/shepherdjerred/webring/commit/4c7b1d733d90ef8c94448fe5ece9d0141ee9ef24))
23
+
24
+ ## [1.4.1](https://github.com/shepherdjerred/webring/compare/v1.4.0...v1.4.1) (2026-01-19)
25
+
26
+ ### Bug Fixes
27
+
28
+ - allow PR CI runs to execute in parallel ([67e8744](https://github.com/shepherdjerred/webring/commit/67e8744549135c07d810fe731731fb0463bea897))
29
+ - **deps:** update dependency @shepherdjerred/dagger-utils to ^0.5.0 ([#144](https://github.com/shepherdjerred/webring/issues/144)) ([df51479](https://github.com/shepherdjerred/webring/commit/df51479c06de3346e070af36ca5ac0db16d37111))
30
+ - **deps:** update dependency @shepherdjerred/dagger-utils to ^0.6.0 ([0d07e82](https://github.com/shepherdjerred/webring/commit/0d07e8263786b271495a68b0c9b9adb1cf169a3a))
31
+ - skip lifecycle scripts during npm publish in Dagger CI ([336100b](https://github.com/shepherdjerred/webring/commit/336100baaf908cbb7c8cab772932aef8a4ece33a))
32
+ - use bun publish instead of npm publish in Dagger CI ([3a090d1](https://github.com/shepherdjerred/webring/commit/3a090d101ebfc6d778c065805a4cfe74bb0cac35))
33
+
34
+ ## [1.4.0](https://github.com/shepherdjerred/webring/compare/v1.3.8...v1.4.0) (2026-01-04)
35
+
36
+ ### Features
37
+
38
+ - add automatic homelab deployment for docs ([#153](https://github.com/shepherdjerred/webring/issues/153)) ([7b7b365](https://github.com/shepherdjerred/webring/commit/7b7b365f6667266f353b81d24288a2bdcfe2b381))
39
+ - add Docker Hub authentication to CI workflow ([d6801a7](https://github.com/shepherdjerred/webring/commit/d6801a7a8eb83a99ccee1148efba7d39637dcd59))
40
+ - consolidate workflows into single Dagger call ([a36787e](https://github.com/shepherdjerred/webring/commit/a36787eb9b572a5898a844ad57212590149925bf))
41
+ - migrate docs from GitHub Pages to K8s ([1f9c1d5](https://github.com/shepherdjerred/webring/commit/1f9c1d573f1ff329456f43ceca2b20fb76f023a6))
42
+ - migrate docs from GitHub Pages to K8s ([e9c6510](https://github.com/shepherdjerred/webring/commit/e9c6510150d2fa701765399e830b89d02c3099ce))
43
+ - migrate to dagger ([b710a50](https://github.com/shepherdjerred/webring/commit/b710a508316a4ed4f0eb78a53a7b78fdc39fbe27))
44
+
45
+ ### Bug Fixes
46
+
47
+ - add [@dagger](https://github.com/dagger).io/dagger as file link to ./sdk for runtime resolution ([1262b32](https://github.com/shepherdjerred/webring/commit/1262b32c71d2ad0af69420e8aa523729ec78100b))
48
+ - add missing [@dagger](https://github.com/dagger).io/dagger dependency and remove yarn ([4e2b8f5](https://github.com/shepherdjerred/webring/commit/4e2b8f5e4524e1c381e1bc87b8c57d86dde9b21f))
49
+ - add npm overrides to ensure [@dagger](https://github.com/dagger).io/dagger resolution ([9afb7c0](https://github.com/shepherdjerred/webring/commit/9afb7c0a3bbb22b7eb4010462f35cac320b09125))
50
+ - add package.json to sdk directory for module resolution ([7ce7dfc](https://github.com/shepherdjerred/webring/commit/7ce7dfca979fb9571a9abad23b27d11bccd73562))
51
+ - add postinstall script to create index.js shim for [@dagger](https://github.com/dagger).io/dagger ([44ce92b](https://github.com/shepherdjerred/webring/commit/44ce92b757edf51bf293556a5f46ad101e03a777))
52
+ - avoid recursive symlinks in example test ([06a9893](https://github.com/shepherdjerred/webring/commit/06a9893afdea689a477e94075afe49acaa06495f))
53
+ - completely remove webring line from package.json instead of replacing ([486fe3c](https://github.com/shepherdjerred/webring/commit/486fe3cc9b79324ef2f7eaeef057bd68c274b7a7))
54
+ - configure vitest deps resolution for Bun compatibility ([3b11f29](https://github.com/shepherdjerred/webring/commit/3b11f298b41f16b51d83c270a53b6c8737b53c40))
55
+ - configure vitest to use forks pool for Bun compatibility ([d61553b](https://github.com/shepherdjerred/webring/commit/d61553b1eb535ad9f0bc8adbf8d79ef323f6a5b9))
56
+ - **dagger:** prevent symlink creation by modifying package.json before install ([d467084](https://github.com/shepherdjerred/webring/commit/d4670842dceb10ef1ffe720bf8e63f4e81dd06c7))
57
+ - **deps:** update npm ([062f2e2](https://github.com/shepherdjerred/webring/commit/062f2e221fcef299a16975753965703ae6143b39))
58
+ - install [@dagger](https://github.com/dagger).io/dagger from npm instead of local sdk ([7cea8e9](https://github.com/shepherdjerred/webring/commit/7cea8e9c4b22f6fc6f84639c9fe8f861467a800c))
59
+ - only export artifacts in prod mode ([d285067](https://github.com/shepherdjerred/webring/commit/d285067ed36ca3ea645617e31e138a9d9b3c18e1))
60
+ - preserve dist/ directory structure when copying webring package ([6d94114](https://github.com/shepherdjerred/webring/commit/6d941141e4f05354f69bd8a386ea9c3b0e979905))
61
+ - regenerate dagger module with dagger develop ([772beb5](https://github.com/shepherdjerred/webring/commit/772beb59b9ed8910dc285e68c259d861676100e3))
62
+ - remove double-default access on truncate-html import ([2ec053c](https://github.com/shepherdjerred/webring/commit/2ec053c7d4a6cc9ce186285b539bf2a009e4555b))
63
+ - remove double-default access on truncate-html import ([53cf8d4](https://github.com/shepherdjerred/webring/commit/53cf8d4a0e9f17e38d09dfd914906fb537fc966e))
64
+ - remove tsconfig paths to use npm [@dagger](https://github.com/dagger).io/dagger ([daa8417](https://github.com/shepherdjerred/webring/commit/daa84175797cdd40dc639308384d9fe1db257cdd))
65
+ - specify npm as package manager for Dagger runtime ([45b7ca5](https://github.com/shepherdjerred/webring/commit/45b7ca5dd65dc78721c2a0d09689b4cc4b378730))
66
+ - update CI workflow to use Bun instead of Node/npm ([b570030](https://github.com/shepherdjerred/webring/commit/b570030e180aa37b2c57d0ffb66ecb3bd5c937df))
67
+ - update dagger engine version to v0.19.8 ([02d2cc5](https://github.com/shepherdjerred/webring/commit/02d2cc57d229c668d1f64e637b090385b680d023))
68
+ - update snapshots ([faee9ab](https://github.com/shepherdjerred/webring/commit/faee9abb585c490312c9c6f0235083ddbaed126b))
69
+ - update test snapshots after truncate fix ([c556621](https://github.com/shepherdjerred/webring/commit/c556621f6053aa82fafcae8ff2b508abf0457ab4))
70
+ - use --legacy-peer-deps for npm ci in dagger module ([8c182a3](https://github.com/shepherdjerred/webring/commit/8c182a3c8a25ec29fd08ee7fe24b9cfa1540a856))
71
+ - use \*\*/node_modules to prevent symlink recursion in Dagger ([db08167](https://github.com/shepherdjerred/webring/commit/db081672998b50014add9c3367ea5b2e6a8639c6))
72
+ - use Bun runtime for Dagger module to fix ESM resolution ([8debdae](https://github.com/shepherdjerred/webring/commit/8debdae9d9011bd0a8d83d48bfdd18c89a9deadc))
73
+ - use bun to properly remove webring from package.json ([7703402](https://github.com/shepherdjerred/webring/commit/7703402f3ca7f05ac7421e3c6cfe2934967e13b1))
74
+ - use correct 1Password vault/item UUIDs ([ab829d9](https://github.com/shepherdjerred/webring/commit/ab829d98c86d2c2bd86a7d4c047ccd78927806e9))
75
+ - use explicit version in npm overrides ([05b41da](https://github.com/shepherdjerred/webring/commit/05b41da8cf4b79d8588c4731a890cae819be4cc6))
76
+ - use forks pool with inline deps for vitest/Bun compat ([5f5ef3b](https://github.com/shepherdjerred/webring/commit/5f5ef3b3ce44c4c480ea84788f1e83579e0cbed5))
77
+ - use GH_TOKEN from 1Password for GitHub API access ([6d6b453](https://github.com/shepherdjerred/webring/commit/6d6b453dff1889ed2965c100b28c941895fa3900))
78
+ - use GITHUB_TOKEN for GHCR push with packages:write permission ([#154](https://github.com/shepherdjerred/webring/issues/154)) ([377b42b](https://github.com/shepherdjerred/webring/commit/377b42bbe8e44586cd8a806d4334af85638e79d3))
79
+ - use latest Bun version in Dagger container ([bb7a8d9](https://github.com/shepherdjerred/webring/commit/bb7a8d91f7bd0006c9d224aabbb67bb5d62b83c9))
80
+ - use threads pool with inline deps for vitest/Bun compat ([6bb3bd9](https://github.com/shepherdjerred/webring/commit/6bb3bd9dba1f755becdc2abaa2cb44d5912f497f))
81
+ - use UUID-based 1Password refs and hardcode connect host ([68536fd](https://github.com/shepherdjerred/webring/commit/68536fdd37ae18fa8a7089976b4503b333cd77f0))
82
+ - use vmThreads pool and inline zod for vitest ([0928c75](https://github.com/shepherdjerred/webring/commit/0928c75e8b67759cd47165a578694335e64a77ba))
83
+
84
+ ### Reverts
85
+
86
+ - remove Docker Hub authentication from CI workflow ([dca8829](https://github.com/shepherdjerred/webring/commit/dca8829c2e654525d5ab757e6501398ee5e2b12d))
87
+
88
+ ## [1.3.8](https://github.com/shepherdjerred/webring/compare/v1.3.7...v1.3.8) (2025-06-15)
89
+
90
+ ### Bug Fixes
91
+
92
+ - **deps:** update dependency remeda to v2.23.0 ([885dcab](https://github.com/shepherdjerred/webring/commit/885dcab7ce39c157691c30a8906b913fc33a7a8c))
93
+ - **deps:** update npm ([46bf808](https://github.com/shepherdjerred/webring/commit/46bf8086abbfb640a023d5e0a51215e5dca2c558))
94
+ - **deps:** update npm ([68e3961](https://github.com/shepherdjerred/webring/commit/68e39618b1efe32211e0c87a960decd6eb199c26))
95
+ - **deps:** update npm ([7f024c1](https://github.com/shepherdjerred/webring/commit/7f024c1012df5619590e6fb0463fd8248ad7ee79))
96
+
97
+ ## [1.3.7](https://github.com/shepherdjerred/webring/compare/v1.3.6...v1.3.7) (2025-03-23)
98
+
99
+ ### Bug Fixes
100
+
101
+ - **deps:** update npm ([e4ad27b](https://github.com/shepherdjerred/webring/commit/e4ad27beb087db3c69c8311249adb0177497aad4))
102
+ - **deps:** update npm ([901ef78](https://github.com/shepherdjerred/webring/commit/901ef784edd954f2d8f4f4006e641228f6a4136b))
103
+ - linter ([f2de46f](https://github.com/shepherdjerred/webring/commit/f2de46f19a7ef31f77e0c41fadae7ceb6bddfb02))
104
+
105
+ ## [1.3.6](https://github.com/shepherdjerred/webring/compare/v1.3.5...v1.3.6) (2025-03-13)
106
+
107
+ ### Bug Fixes
108
+
109
+ - **deps:** update npm ([c7b5e43](https://github.com/shepherdjerred/webring/commit/c7b5e43745953843d8a8ab546fc1cfba661f42f9))
110
+ - **deps:** update npm ([5638a30](https://github.com/shepherdjerred/webring/commit/5638a30f1844275ad758efde5bbfb2e0b2ced6f7))
111
+ - update ([c4235ba](https://github.com/shepherdjerred/webring/commit/c4235bab76aa3d5b7000067f5a1d9b7025cf9db0))
112
+ - update example ([d8da6ec](https://github.com/shepherdjerred/webring/commit/d8da6ecc17e05b0081a0346d851dc243e23f9b5f))
113
+
114
+ ## [1.3.5](https://github.com/shepherdjerred/webring/compare/v1.3.4...v1.3.5) (2025-01-19)
115
+
116
+ ### Bug Fixes
117
+
118
+ - **deps:** update npm ([f262f16](https://github.com/shepherdjerred/webring/commit/f262f16c2d2b887f06196b1fe146cf3845adf604))
119
+
120
+ ## [1.3.4](https://github.com/shepherdjerred/webring/compare/v1.3.3...v1.3.4) (2025-01-12)
121
+
122
+ ### Bug Fixes
123
+
124
+ - **deps:** update npm ([4b6fc1c](https://github.com/shepherdjerred/webring/commit/4b6fc1cdba5478315c89b7cd3b42ecc3bfe734a2))
125
+
126
+ ## [1.3.3](https://github.com/shepherdjerred/webring/compare/v1.3.2...v1.3.3) (2025-01-05)
127
+
128
+ ### Bug Fixes
129
+
130
+ - **deps:** update npm ([5f888c1](https://github.com/shepherdjerred/webring/commit/5f888c1feb95c30b5b2fd3b7d98cbad273309d3f))
131
+
132
+ ## [1.3.2](https://github.com/shepherdjerred/webring/compare/v1.3.1...v1.3.2) (2024-12-29)
133
+
134
+ ### Bug Fixes
135
+
136
+ - **deps:** update npm ([40bc40e](https://github.com/shepherdjerred/webring/commit/40bc40ea5fecfb69c0839fa5b97f577ad9dd6208))
137
+
138
+ ## [1.3.1](https://github.com/shepherdjerred/webring/compare/v1.3.0...v1.3.1) (2024-12-22)
139
+
140
+ ### Bug Fixes
141
+
142
+ - **deps:** update npm ([3eaac2e](https://github.com/shepherdjerred/webring/commit/3eaac2e4513fb2f7574b5080d7d5851c9bac365e))
143
+
144
+ ## [1.3.0](https://github.com/shepherdjerred/webring/compare/v1.2.7...v1.3.0) (2024-12-20)
145
+
146
+ ### Features
147
+
148
+ - use Earthly for CI ([f724d1a](https://github.com/shepherdjerred/webring/commit/f724d1a9c1d44e2be19d78751e205ad70e6802b7))
149
+
150
+ ### Bug Fixes
151
+
152
+ - **deps:** update dependency astro to v5.0.8 [security] ([85e2e23](https://github.com/shepherdjerred/webring/commit/85e2e23f30f6201ee86a8fd535c5ce743e75722e))
153
+ - reviewer ([d216b08](https://github.com/shepherdjerred/webring/commit/d216b0874c13b095ae8b0931126724293c869fc4))
154
+
155
+ ## [1.2.7](https://github.com/shepherdjerred/webring/compare/v1.2.6...v1.2.7) (2024-12-08)
156
+
157
+ ### Bug Fixes
158
+
159
+ - **deps:** update npm ([6e02795](https://github.com/shepherdjerred/webring/commit/6e02795b6c803c8c67b8e61e6e03af29f490a60d))
160
+ - **deps:** update npm ([05d3700](https://github.com/shepherdjerred/webring/commit/05d3700a5433240bb8c68ef2c197fbc50ca4d1eb))
161
+
162
+ ## [1.2.6](https://github.com/shepherdjerred/webring/compare/v1.2.5...v1.2.6) (2024-11-10)
163
+
164
+ ### Bug Fixes
165
+
166
+ - **deps:** update npm ([7b71504](https://github.com/shepherdjerred/webring/commit/7b71504c3ce69ea864b6c5bf73cf2b31fd788c43))
167
+ - **deps:** update npm ([9b94976](https://github.com/shepherdjerred/webring/commit/9b949767047bef2857a46fa7aa1e378f5d29bed3))
168
+ - **deps:** update npm ([0bc16d4](https://github.com/shepherdjerred/webring/commit/0bc16d484f398546aa98b3236fe775c36ee35188))
169
+
170
+ ## [1.2.5](https://github.com/shepherdjerred/webring/compare/v1.2.4...v1.2.5) (2024-10-05)
171
+
172
+ ### Bug Fixes
173
+
174
+ - update cheerio ([912c4c0](https://github.com/shepherdjerred/webring/commit/912c4c0d74c0e731b6e4a42e621844978b0514c5))
175
+ - update renovate ([e99d849](https://github.com/shepherdjerred/webring/commit/e99d849756ded9df52b6a7921b4b14141d669efc))
176
+
177
+ ## [1.2.4](https://github.com/shepherdjerred/webring/compare/v1.2.3...v1.2.4) (2024-10-05)
178
+
179
+ ### Bug Fixes
180
+
181
+ - update package-lock of example ([65e28ca](https://github.com/shepherdjerred/webring/commit/65e28caead9615f93791616804bf21a14b29cca7))
182
+
183
+ ## [1.2.3](https://github.com/shepherdjerred/webring/compare/v1.2.2...v1.2.3) (2024-10-05)
184
+
185
+ ### Bug Fixes
186
+
187
+ - **deps:** update npm ([26ff336](https://github.com/shepherdjerred/webring/commit/26ff336928c60270340b2cb763d84e43465001ff))
188
+
189
+ ## [1.2.2](https://github.com/shepherdjerred/webring/compare/v1.2.1...v1.2.2) (2024-09-13)
190
+
191
+ ### Bug Fixes
192
+
193
+ - **deps:** update npm ([b0e54f4](https://github.com/shepherdjerred/webring/commit/b0e54f4f0d9428c14cbbfa69b4654b9a09d70368))
194
+
195
+ ## [1.2.1](https://github.com/shepherdjerred/webring/compare/v1.2.0...v1.2.1) (2024-08-12)
196
+
197
+ ### Bug Fixes
198
+
199
+ - deps ([ba13fdb](https://github.com/shepherdjerred/webring/commit/ba13fdbd0420d03049a713b6901fb236eb409cac))
200
+ - revert cheerio ([0b71e1e](https://github.com/shepherdjerred/webring/commit/0b71e1e2be61853c8ca99a614d7c2095969493c2))
201
+
202
+ ## [1.2.0](https://github.com/shepherdjerred/webring/compare/v1.1.4...v1.2.0) (2024-08-12)
203
+
204
+ ### Features
205
+
206
+ - add ability to filter and shuffle ([51dcc9d](https://github.com/shepherdjerred/webring/commit/51dcc9d946ed0bee2f854cf5249d8cd9680e1bc6))
207
+ - update to eslint 9 ([7721ac1](https://github.com/shepherdjerred/webring/commit/7721ac190acfdabfd7b6ece3019c018a05700336))
208
+
209
+ ### Bug Fixes
210
+
211
+ - **deps:** update npm ([27dd6e3](https://github.com/shepherdjerred/webring/commit/27dd6e3e96be57ad3093e494234e3ba2d790494c))
212
+
213
+ ## [1.1.4](https://github.com/shepherdjerred/webring/compare/v1.1.3...v1.1.4) (2024-07-28)
214
+
215
+ ### Bug Fixes
216
+
217
+ - **deps:** update npm ([561215f](https://github.com/shepherdjerred/webring/commit/561215f065d07c46771283e060543dca445017d2))
218
+ - **deps:** update npm ([e6c89bc](https://github.com/shepherdjerred/webring/commit/e6c89bcb0d92a5680e31ef9d606ee5d8b21664f1))
219
+
220
+ ## [1.1.3](https://github.com/shepherdjerred/webring/compare/v1.1.2...v1.1.3) (2024-07-14)
221
+
222
+ ### Bug Fixes
223
+
224
+ - don't include test files in package ([52d0861](https://github.com/shepherdjerred/webring/commit/52d0861922068273d358c4297fa644cfc8d3e54d))
225
+
226
+ ## [1.1.2](https://github.com/shepherdjerred/webring/compare/v1.1.1...v1.1.2) (2024-07-14)
227
+
228
+ ### Bug Fixes
229
+
230
+ - **deps:** update npm ([bfaf883](https://github.com/shepherdjerred/webring/commit/bfaf88347ae769e00e93e514774b2c760694f902))
231
+
232
+ ## [1.1.1](https://github.com/shepherdjerred/webring/compare/v1.1.0...v1.1.1) (2024-07-07)
233
+
234
+ ### Bug Fixes
235
+
236
+ - **deps:** update dependency astro to v4.11.5 ([a61f733](https://github.com/shepherdjerred/webring/commit/a61f733cbd3f7bd659d4a608f58473885a5bcc61))
237
+ - **deps:** update dependency remeda to v2.2.2 ([97a6c06](https://github.com/shepherdjerred/webring/commit/97a6c064138e0c204e231efb2ca45defd82b61f9))
238
+ - **deps:** update dependency remeda to v2.3.0 ([7a4c8d5](https://github.com/shepherdjerred/webring/commit/7a4c8d51ad5722be0a8dced10eb0b14a279b0bf6))
239
+ - update snapshot ([c73cdf7](https://github.com/shepherdjerred/webring/commit/c73cdf779433e6e7e8c5f2beee3fb2aefec9a0e0))
240
+ - use import instead of triple-slash ([971a77e](https://github.com/shepherdjerred/webring/commit/971a77ecd0c612850faeb9d16f7775d3e7ca7253))
241
+
242
+ ## [1.1.0](https://github.com/shepherdjerred/webring/compare/v1.0.3...v1.1.0) (2024-06-28)
243
+
244
+ ### Features
245
+
246
+ - source mappings ([095fe2b](https://github.com/shepherdjerred/webring/commit/095fe2be44e25547271730a5611d4710609cdf8d))
247
+
248
+ ## [1.0.3](https://github.com/shepherdjerred/webring/compare/v1.0.2...v1.0.3) (2024-06-24)
249
+
250
+ ### Bug Fixes
251
+
252
+ - create dir to cache ([a30645c](https://github.com/shepherdjerred/webring/commit/a30645c11d2afe91f7802c91b2c82eef9a97c717))
253
+
254
+ ## [1.0.2](https://github.com/shepherdjerred/webring/compare/v1.0.1...v1.0.2) (2024-06-21)
255
+
256
+ ### Bug Fixes
257
+
258
+ - disable style parsing ([0999f02](https://github.com/shepherdjerred/webring/commit/0999f025b4e9970a20bde8c1ffce1248ce38f3b7))
259
+
260
+ ## [1.0.1](https://github.com/shepherdjerred/webring/compare/v1.0.0...v1.0.1) (2024-06-03)
261
+
262
+ ### Bug Fixes
263
+
264
+ - add tests, fix import ([3f811a1](https://github.com/shepherdjerred/webring/commit/3f811a18fae9186795f5d34cb0d4bbdd20f2a5df))
265
+
266
+ ## [1.0.0](https://github.com/shepherdjerred/webring/compare/v0.3.0...v1.0.0) (2024-06-03)
267
+
268
+ ### ⚠ BREAKING CHANGES
269
+
270
+ - add link
271
+
272
+ ### Documentation
273
+
274
+ - add link ([1a5d327](https://github.com/shepherdjerred/webring/commit/1a5d327a002785809e84aab70b19d18dd135f78b))
275
+
276
+ ## [0.3.0](https://github.com/shepherdjerred/webring/compare/v0.2.0...v0.3.0) (2024-06-03)
277
+
278
+ ### Features
279
+
280
+ - allow filename to be configurable ([cc7bb5f](https://github.com/shepherdjerred/webring/commit/cc7bb5f3139f306952d03568fc63cc9fcbfaad5e))
package/README.md ADDED
@@ -0,0 +1,153 @@
1
+ <div align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://cdn.rawgit.com/shepherdjerred/webring/main/assets/logo-dark.png">
4
+ <source media="(prefers-color-scheme: light)" srcset="https://cdn.rawgit.com/shepherdjerred/webring/main/assets/logo-light.png">
5
+ <img alt="webring logo" src="https://cdn.rawgit.com/shepherdjerred/webring/main/assets/logo-light.png" height=150>
6
+ </picture>
7
+
8
+ [![webring](https://img.shields.io/npm/v/webring.svg)](https://www.npmjs.com/package/webring)
9
+
10
+ `webring` fetches the latest updates from your favorite RSS feeds.
11
+
12
+ This project is actively maintained. If you have a feature request or need help, please [create an issue](https://github.com/shepherdjerred/webring/issues/new).
13
+
14
+ </div>
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ npm i webring
20
+ ```
21
+
22
+ ## Features
23
+
24
+ - Written in TypeScript
25
+ - Caching
26
+ - HTML sanitization and truncation
27
+
28
+ ## Quick Start
29
+
30
+ This library is intended to be used with a static site generator. I use this with [Astro](https://astro.build/) on my [personal website](https://github.com/shepherdjerred/sjer.red/blob/1220ebef2e43956ba385402ed8529870e9084de8/src/components/BlogWebring.astro#L17-L22).
31
+
32
+ ```typescript
33
+ import { run } from "webring";
34
+
35
+ const result = await run({
36
+ sources: [
37
+ {
38
+ url: "https://drewdevault.com/blog/index.xml",
39
+ title: "Drew DeVault",
40
+ },
41
+ {
42
+ url: "https://danluu.com/atom.xml",
43
+ title: "Dan Luu",
44
+ },
45
+ {
46
+ url: "https://jakelazaroff.com/rss.xml",
47
+ title: "Jake Lazaroff",
48
+ },
49
+ ],
50
+ });
51
+
52
+ console.log(result);
53
+ // [
54
+ // {
55
+ // title: 'A discussion of discussions on AI bias',
56
+ // url: 'https://danluu.com/ai-bias/',
57
+ // date: 2024-06-16T00:00:00.000Z,
58
+ // source: { url: 'https://danluu.com/atom.xml', title: 'Dan Luu' },
59
+ // preview: `There've been regular viral stories about ML/AI bias with LLMs and generative AI for the past couple years. One thing I find interesting about discussions of bias is how different the reaction is in the LLM and generative AI case when compared to "classical" bugs in cases where there's a clear bug. ...`
60
+ // },
61
+ // {
62
+ // title: 'Writing a Unix clone in about a month',
63
+ // url: 'https://drewdevault.com/2024/05/24/2024-05-24-Bunnix.html',
64
+ // date: 2024-05-24T00:00:00.000Z,
65
+ // source: {
66
+ // url: 'https://drewdevault.com/blog/index.xml',
67
+ // title: 'Drew DeVault'
68
+ // },
69
+ // preview: 'I needed a bit of a break from “real work” recently, so I started a new programming project that was low-stakes and purely recreational. On April 21st, I set out to see how much of a Unix-like operating system for x86_64 targets that I could put together in about a month. The result is Bunnix. Not i...'
70
+ // },
71
+ // {
72
+ // title: 'The Web Component Success Story',
73
+ // url: 'https://jakelazaroff.com/words/the-web-component-success-story/',
74
+ // date: 2024-01-29T00:00:00.000Z,
75
+ // source: { url: 'https://jakelazaroff.com/rss.xml', title: 'Jake Lazaroff' },
76
+ // preview: "Web components won't take web development by storm, or show us the One True Way to build websites. What they will do is let us collectively build a rich ecosystem of dynamic components that work with any web stack."
77
+ // }
78
+ // ]
79
+ ```
80
+
81
+ ## Configuration
82
+
83
+ `webring` is configured by passing in a `Configuration` object into the `run` method.
84
+
85
+ All possible configuration values can be seen by looking at the [`typedoc` site](https://shepherdjerred.github.io/webring/types/Configuration.html).
86
+
87
+ ## Example
88
+
89
+ An example of using this project with Astro is located in `example`. The relevant file is [`src/pages/blog/[...slug].astro`](https://github.com/shepherdjerred/webring/blob/971a77ecd0c612850faeb9d16f7775d3e7ca7253/example/src/pages/blog/%5B...slug%5D.astro#L18).
90
+
91
+ ```typescript
92
+ ---
93
+ import { type CollectionEntry, getCollection } from "astro:content";
94
+ import BlogPost from "../../layouts/BlogPost.astro";
95
+ import { type Configuration, type Result, run } from "webring";
96
+
97
+ export async function getStaticPaths() {
98
+ const posts = await getCollection("blog");
99
+ return posts.map((post) => ({
100
+ params: { slug: post.slug },
101
+ props: post,
102
+ }));
103
+ }
104
+ type Props = CollectionEntry<"blog">;
105
+
106
+ const post = Astro.props;
107
+ const { Content } = await post.render();
108
+
109
+ export const config: Configuration = {
110
+ sources: [
111
+ {
112
+ url: "https://drewdevault.com/blog/index.xml",
113
+ title: "Drew DeVault",
114
+ },
115
+ {
116
+ url: "https://danluu.com/atom.xml",
117
+ title: "Dan Luu",
118
+ },
119
+ {
120
+ url: "https://jakelazaroff.com/rss.xml",
121
+ title: "Jake Lazaroff",
122
+ },
123
+ ],
124
+ number: 3,
125
+ truncate: 300,
126
+ cache: {
127
+ cache_file: "webring.json",
128
+ cache_duration_minutes: 60,
129
+ },
130
+ };
131
+
132
+ export const result: Result = await run(config);
133
+ ---
134
+
135
+ <BlogPost {...post.data}>
136
+ <Content />
137
+ <h2>Posts from blogs I read</h2>
138
+ <ul>
139
+ {
140
+ result.map((post) => (
141
+ <li>
142
+ <a href={post.url}>{post.title}</a>
143
+ </li>
144
+ ))
145
+ }
146
+ </ul>
147
+ </BlogPost>
148
+ ```
149
+
150
+ ## Inspiration
151
+
152
+ - https://github.com/lukehsiao/openring-rs
153
+ - https://git.sr.ht/~sircmpwn/openring