Tienson Qin 15585f1481 mod+m to publish пре 3 недеља
..
scripts 8c4be25e92 add timestamp version to invalid cache пре 4 недеља
src 15585f1481 mod+m to publish пре 3 недеља
worker f9a3fb50b9 remove skip_auth пре 3 недеља
README.md 2a96243474 add publish worker пре 1 месец
deps.edn 24c9298356 fix: tests пре 3 недеља
package.json 8c4be25e92 add timestamp version to invalid cache пре 4 недеља
shadow-cljs.edn d4d8b1a7e6 fix: add shadow-cljs.edn for publish worker пре 4 недеља
yarn.lock d4d8b1a7e6 fix: add shadow-cljs.edn for publish worker пре 4 недеља

README.md

Description

Shared library for page publishing (snapshot payloads, SSR helpers, shared schemas, and storage contracts).

The Cloudflare Durable Object implementation is expected to use SQLite with the Logseq datascript fork layered on top. Page publish payloads are expected to send datoms (transit) so the DO can reconstruct/query datascript state.

See deps/publish/worker for a Cloudflare Worker skeleton that stores transit blobs in R2 and metadata in a SQLite-backed Durable Object.

API

Namespaces live under logseq.publish.

Usage

This module is intended to be consumed by the Logseq app and the publishing worker.

Dev

Keep this module aligned with the main repo's linting and testing conventions.