Basking: a place to dump thoughts, jot notes and keep a journal

Plain markdown files, tags by typing #hashtags, a page per day, search,
pin and trash with undo, autosave with conflict warnings, API tokens,
zip export, and the Lightwell dashboard. Includes install.sh, CI and
release workflows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
VeillaxandClaude Sonnet 5.5 committed 2026-10-31 20:16:33 -06:00
commit b548faa258
23 files changed
+4026

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Build: docker build -t basking .
FROM golang:1.27-alpine AS build
WORKDIR /src
COPY . .
RUN CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o /basking ./cmd/basking
FROM alpine:3.20
RUN apk add --no-cache tzdata ca-certificates && adduser -D -u 10001 basking && mkdir /config && chown basking /config
COPY --from=build /basking /usr/local/bin/basking
USER basking
# The config file and the notes both live under /config.
ENV BASKING_CONFIG=/config/basking.json
WORKDIR /config
EXPOSE 8490
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1:8490/healthz || exit 1
ENTRYPOINT ["basking", "serve", "-listen", "0.0.0.0:8490"]