Skip to content

admin/dorfarchiv

PublicMirror

Mirror of https://forge.levinkeller.de/levin/dorfarchiv.git

feat: LFS-Download-URLs mit Cloudflare Worker Integration

- .lfsconfig mit B2-Proxy-Konfiguration hinzugefügt
- npm script 'lfs-urls' zur Generierung von Download-URLs erstellt
- URLs nutzen Cloudflare Worker für B2-Autorisierung und Content-Disposition

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Levin Keller authored 1 parent 3f20aa1commit 59cdbc0d5ac96a76a478da3437a99ebc9bdf20b5Browse files

Showing 3 changed files with 5 additions and 2 deletions.

Modified.devcontainer/devcontainer.json+1 -1
@@ -4,7 +4,7 @@
44 "features": {
55 "ghcr.io/devcontainers/features/common-utils:2": {},
66 "ghcr.io/devcontainers/features/docker-in-docker:2": {},
7deleted: "ghcr.io/devcontainers/features/conda:1": {}
7added: "ghcr.io/devcontainers/features/git-lfs:1": {}
88 },
99 "postCreateCommand": "npm install",
1010 "customizations": {
Added.lfsconfig+2 -0
@@ -0,0 +1,2 @@
1added: [lfs]
2added: url = https:/003e082692b55760000000002:K0036M+YZ4SkZF6pPZrHtlPI+z8dIME@git-lfs-s3-proxy.levinkeller.de/s3.eu-central-003.backblazeb2.com/dorfarchiv-roessing
Modifiedpackage.json+2 -1
@@ -13,7 +13,8 @@
1313 "write-translations": "docusaurus write-translations",
1414 "write-heading-ids": "docusaurus write-heading-ids",
1515 "typecheck": "tsc",
16deleted: "claude": "claude --dangerously-skip-permissions"
16added: "claude": "claude --dangerously-skip-permissions",
17added: "lfs-urls": "git lfs ls-files -l | awk '{keyId=\"003e082692b55760000000002\"; appKey=\"K0036M%2BYZ4SkZF6pPZrHtlPI%2Bz8dIME\"; gsub(/.*\\//, \"\", $3); print \"https://git-lfs-s3-proxy.levinkeller.de/download/\" $1 \"/\" $3 \"?keyId=\" keyId \"&appKey=\" appKey}'"
1718 },
1819 "dependencies": {
1920 "@docusaurus/core": "^3.8.1",