1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00

Compare commits

..

No commits in common. "2635eede6cf2c030753cdb03dc8c9c4958f1d5fe" and "0f7b1eba40e9a46aa22e4ea792da8cf07ace0a7b" have entirely different histories.

5 changed files with 25 additions and 25 deletions

2
.gitignore vendored
View file

@ -4,7 +4,7 @@ dist/
# generated types # generated types
.astro/ .astro/
# This interrupts Cloudflare Pages builds # This interrups Cloudflare Pages builds
bun.lockb bun.lockb
# dependencies # dependencies

View file

@ -1,14 +1,8 @@
# Base # Base
FROM oven/bun:alpine AS based ## For AMD64 Servers:
FROM ark.sudovanilla.org/korbs/node:alpine AS based
# Metadata ## For ARM64 Servers:
LABEL org.opencontainers.image.title="ButterflyVu" ## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
LABEL org.opencontainers.image.vendor="SudoVanilla"
LABEL org.opencontainers.image.description="Documentations built on Astro"
LABEL org.opencontainers.image.licenses="MIT NON-AI License"
LABEL org.opencontainers.image.url="https://butterflyvu.docs.sudovanilla.org/"
LABEL org.opencontainers.image.source="https://ark.sudovanilla.org/Korbs/ButterflyVu/"
LABEL org.opencontainers.image.version="0.1.6"
# Copy Files # Copy Files
WORKDIR /app WORKDIR /app
@ -16,4 +10,4 @@ COPY . .
# Run # Run
EXPOSE 2014 EXPOSE 2014
CMD bun run build && bun run preview CMD npm run build && npm run preview

25
TODO.md
View file

@ -20,22 +20,27 @@
- [ ] Multi - [ ] Multi
- [ ] Closable - [ ] Closable
- [ ] Mobile friendly - [ ] Mobile friendly
- [ ] Error Handling
- [ ] Custom Error Pages
- [ ] Explore new experimental Astro feature: astro:env
- [ ] Optimizations - [ ] Optimizations
- [ ] Mobile Friendly - [ ] Mobile Friendly
- [x] Error Handling - [ ] Add Integrations:
- [x] Custom Error Pages - [x] Analytics for:
- [x] Add Integrations: - [x] Amplitude
- [x] Analytics and Event Tracking for: - [x] Fathom
- [x] Matomo (aka Piwik)
- [x] Metrical
- [x] Minimalanalytics
- [x] Plausible
- [x] Simple Analytics
- [x] Swetrix Analytics
- [x] Tianji
- [x] Umami - [x] Umami
- [x] Feedback: - [x] Feedback:
- [x] Feelback - [x] Feelback*
- [x] [Zorn](https://zorn.docs.sudovanilla.org) Support
- [ ] Provide Docker Image for AMD64 and ARM64 - [ ] Provide Docker Image for AMD64 and ARM64
- [x] AMD64
- [ ] ARM64
- [x] Docker, test with: - [x] Docker, test with:
- [o] ~~Docker Desktop~~ (Discouraged)
- [x] Docker Engine
- [x] Dockge - [x] Dockge
- [x] Dokemon - [x] Dokemon

View file

@ -1,7 +1,7 @@
services: services:
butterflyvu: butterflyvu:
image: oci.registry.sudovanilla.org/butterflyvu:latest image: oci.registry.sudovanilla.org/butterflyvu:latest
restart: always network_mode: bridge
volumes: volumes:
- ./config.json:/app/config.json - ./config.json:/app/config.json
- ./docs/home.mdx:/app/src/content/home.mdx - ./docs/home.mdx:/app/src/content/home.mdx
@ -10,7 +10,8 @@ services:
nginx: nginx:
image: nginx:latest image: nginx:latest
restart: always restart: unless-stopped
network_mode: bridge
ports: ports:
- 4242:80 - 4242:80
volumes: volumes:

View file

@ -27,7 +27,7 @@
"preview": "astro preview", "preview": "astro preview",
"docker:start": "docker compose up -d", "docker:start": "docker compose up -d",
"docker:stop": "docker compose down", "docker:stop": "docker compose down",
"docker:build": "buildah build -t oci.registry.sudovanilla.org/butterflyvu --no-cache", "docker:build": "buildah build -t oci.registry.sudovanilla.org/butterflyvu --no-cache --annotation 'org.opencontainers.image.vendor=SudoVanilla' --annotation 'org.opencontainers.image.description=Documentations built on Astro' --annotation 'org.opencontainers.image.title=ButterflyVu' --annotation 'org.opencontainers.image.licenses=MIT NON-AI License' --annotation 'org.opencontainers.image.url=https://ark.sudovanilla.org/Korbs/ButterflyVu'",
"docker:push": "buildah push oci.registry.sudovanilla.org/butterflyvu" "docker:push": "buildah push oci.registry.sudovanilla.org/butterflyvu"
}, },
"dependencies": { "dependencies": {