Cloudsteading
888wiki split Markdown editor and published document preview
888wiki split Markdown editor and published document preview

888wiki

Markdown notes, visual workspaces and controlled publishing in your Cloudflare account.

888wiki is a self-hosted Notion alternative built on Cloudflare (D1, KV, R2, Workers). Free tier eligible within limits. Inspect the source and license in the linked repository.

Source & license

Upstream license: AGPL-3.0

License TL;DR

You can use and change it, even commercially. If people use your modified version over a network, offer them its corresponding source under the AGPL. Sharing copies has source-sharing duties too. Sharing source code is different from sharing users’ content.

Explain AGPL v3 in plain English →

Summary of the main license. Separate packages and assets can have different terms.

Inspect repository ↗Read this project’s actual license ↗

Repository owner

@tbdavid2019

See the upstream repository for the original creator and contributors.

Maintain this project? Maintainer verification →README badge, corrections or removal →

Cloudflare hosting

Free tier eligible within limits

The reviewed Cloudflare deployment is eligible for Free-plan allowances for the stated small workload and feature scope. Usage limits, CPU, required account setup and separate services apply.

Hosting requirements
  • Assess the core text-note and image deployment only; Groq, 888box and optional AI integrations have separate accounts and costs.
  • Stay within KV's daily write/read/list quotas; frequent autosave and public note traffic must be measured.
  • D1 note history retention and R2 images must stay within their included storage and operation allowances.
  • Workers Free dynamic requests are shared across this account (100,000/day), with 10 ms CPU per invocation; workload fit is conditional and has not been measured.
  • D1 Free allowance: 5 million rows read/day, 100,000 rows written/day and 5 GB total storage; unindexed scans and history retention consume quota.
  • KV Free allowance: 100,000 keys read/day and 1,000 each writes/deletes/list requests/day; this may constrain updates before Worker request limits.
  • R2 Standard allowance: 10 GB-month storage, 1 million Class A and 10 million Class B operations/month; account activation may require billing setup, and other storage classes are excluded.
Check current pricing ↗
Review findings & limitations
  • Source-reviewed at a pinned commit; deployment, screenshots and behavior were not runtime-tested.
  • AGPL v3 text collected; README licenses AGPL-3.0, with network-copyleft obligations.
  • Workers AI block is commented out; it must not appear as an active binding.
  • 888box required for publishing audio/large attachments, but not core text/image notes.
  • Pinned runtime source review now includes 45 TS/JS files and recognizes handler/router declarations. This is static source evidence, not verification of running deployment, authentication or external service delivery.
Sources checked 01/10/2026

Repository snapshot: 034d335. Hosting eligibility reflects the deployment documentation and listed assumptions.

  • notion ↗

    # 888wiki **A Markdown-first knowledge workspace you can run in your own Cloudflare account.** Start with plain Markdown, capture voice, files, and web pages into it, then use Block, Canvas, or Whiteboard when the work calls for another shape. [![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/tbdavid2019/888wiki) [Live site](https://wiki.david888.com) · [API](https://wiki.david888.com/api) · [

  • workers ↗

    name = "888wiki" main = "src/index.js" compatibility_date = "2024-12-01" compatibility_flags = ["nodejs_compat"] kv_namespaces = [ { binding = "NOTES", id = "demo" }, { binding = "SHARE", id = "demo" } ] [assets] directory = "./static" [vars] SCN_STORAGE_DRIVER = "auto" SCN_APP_NAME = "888wiki" SCN_ADMIN_PATH = "/admin" SCN_SLUG_LENGTH = "4" SCN_ENABLE_R2 = "1" SCN_R2_DOMAIN = "" SCN_GA_MEASUREMENT_ID = "" SCN_ENABLE_WEBTALK = "0" SCN_WEBTALK_SCRIPT_URL = "" SCN_WEBTALK_AI_ENDP

  • d1 ↗

    PW"] [[r2_buckets]] binding = "IMAGES" bucket_name = "888wiki-images" [[d1_databases]] binding = "NOTE_HISTORY_DB" database_name = "888wiki-history" database_id = "demo" # Cron trigger: Daily cleanup at 9 AM Taiwan time (1 AM UTC) [triggers] crons = ["0 1 * * *"] # Workers AI binding is optional. AI operations fall back to Groq when no AI binding is configured. # [ai] # binding = "AI"

  • kv ↗

    bility_date = "2024-12-01" compatibility_flags = ["nodejs_compat"] kv_namespaces = [ { binding = "NOTES", id = "demo" }, { binding = "SHARE", id = "demo" } ] [assets] directory = "./static" [vars] SCN_STORAGE_DRIVER = "auto" SCN_APP_NAME = "888wiki" SCN_ADMIN_PATH = "/admin" SCN_SLUG_LENGTH = "4" SCN_ENABLE_R2 = "1" SCN_R2_DOMAIN = "" SCN_GA_MEASUREMENT_ID = "" SCN_ENABLE_WEBTALK = "0" SCN_WEBTALK_SCRIPT_URL = "" SCN_WEBTALK_AI_ENDPOINT = "" SCN_WEBTALK_SCOPE = "meta" SCN_WEBTALK_SITE_ID = "" SCN_ENABLE_NOTE_HISTORY = "1" SCN_NOTE_HISTORY_LIMIT = "10" SCN_NOT

  • r2 ↗

    = "300" [secrets] required = ["SCN_SALT", "SCN_SECRET", "SCN_ADMIN_PW"] [[r2_buckets]] binding = "IMAGES" bucket_name = "888wiki-images" [[d1_databases]] binding = "NOTE_HISTORY_DB" database_name = "888wiki-history" database_id = "demo" # Cron trigger: Daily cleanup at 9 AM Taiwan time (1 AM UTC) [triggers] crons = ["0 1 * * *"] # Workers AI binding is optional. AI operations fall back to Groq when no AI binding is configured. # [ai] # binding = "AI"

  • free-tier-eligible ↗

    name = "888wiki" main = "src/index.js" compatibility_date = "2024-12-01" compatibility_flags = ["nodejs_compat"] kv_namespaces = [ { binding = "NOTES", id = "demo" }, { binding = "SHARE", id = "demo" } ] [assets] directory = "./static" [vars] SCN_STORAGE_DRIVER = "auto" SCN_APP_NAME = "888wiki" SCN_ADMIN_PATH = "/admin" SCN_SLUG_LENGTH = "4" SCN_ENABLE_R2 = "1" SCN_R2_DOMAIN = "" SCN_GA_MEASUREMENT_ID = "" SCN_ENABLE_WEBTALK = "0" SCN_WEBTALK_SCRIPT_URL = "" SC

  • free-tier-eligible ↗

    ount Manager. | | Requests<sup>1, 2, 3, 4</sup> | Duration | CPU time | | --- | --- | --- | --- | | **Free** | 100,000 per day | No charge for duration | 10 milliseconds of CPU time per invocation | | **Standard** | 10 million included per month <br> +$0.30 per additional million | No charge or limit for duration | 30 million CPU milliseconds included per month<br> +$0.02 per additional million CPU milliseconds<br><br> Max of [5 minutes of CPU time](https://developers.cloudflare.com/workers/platform/limits/#account-plan-limits) per invocation (default: 30 second

  • free-tier-eligible ↗

    rs Paid](https://developers.cloudflare.com/workers/platform/pricing/#workers) | | --- | --- | --- | | Rows read | 5 million / day | First 25 billion / month included + $0.001 / million rows | | Rows written | 100,000 / day | First 50 million / month included + $1.00 / million rows | | Storage (per GB stored) | 5 GB (total) | First 5 GB included + $0.75 / GB-mo | Track your D1 usage To accurately track your usage, use the [meta object](https://developers.cloudflare.com/d1/worker-api/return-object/), [GraphQL Analytics API](https://developers.cloudflare.com/d1/obs

  • free-tier-eligible ↗

    flare.com/workers/platform/pricing/). | | Free plan<sup>1</sup> | Paid plan | | --- | --- | --- | | Keys read | 100,000 / day | 10 million/month, + $0.50/million | | Keys written | 1,000 / day | 1 million/month, + $5.00/million | | Keys deleted | 1,000 / day | 1 million/month, + $5.00/million | | List requests | 1,000 / day | 1 million/month, + $5.00/million | | Stored data | 1 GB | 1 GB, + $0.50/ GB-month | <sup>1</sup> The Workers Free plan includes limited Workers KV usage. All limits reset daily at 00:00 UTC. If you exceed any one of these limits, further o

  • free-tier-eligible ↗

    f you have retrieved data (for infrequent access storage) for 1.1 GB, you will be billed for 2 GB. ### Free tier You can use the following amount of storage and operations each month for free. | | Free | | --- | --- | | Storage | 10 GB-month / month | | Class A Operations | 1 million requests / month | | Class B Operations | 10 million requests / month | | Egress (data transfer to Internet) | Free <sup>[1](#user-content-fn-1)</sup> | Caution The free tier only applies to Standard storage, and does not apply to Infrequent Access storage. ### Storage usage S

  • AGPL-3.0 ↗

    GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.

  • architecture ↗

    name = "888wiki" main = "src/index.js" compatibility_date = "2024-12-01" compatibility_flags = ["nodejs_compat"] kv_namespaces = [ { binding = "NOTES", id = "demo" }, { binding = "SHARE", id = "demo" } ] [assets] directory = "./static" [vars] SCN_STORAGE_DRIVER = "auto" SCN_APP_NAME = "888wiki" SCN_ADMIN_PATH = "/admin" SCN_SLUG_LENGTH = "4" SCN_ENABLE_R2 = "1" SCN_R2_DOMAIN = "" SCN_GA_MEASUREMENT_ID = "" SCN_ENABLE_WEBTALK = "0" SCN_WEBTALK_SCRIPT_URL = "" SCN_WEBTALK_AI_ENDP

Upstream screenshot · tbdavid2019/888wiki repository contributors ↗. Depicts the upstream project. We have not deployed and tested a fresh installation here.

What it can replace

Compare the workflow you need. These mappings describe overlap; full feature parity requires a separate comparison.

Notion logoNotion ↗

Editorial workflow alternative: Markdown note editing, block documents, visual canvases and public/password-protected note publishing; team database and administration parity not asserted.

See supporting source ↗
Workflow overlap
Pricing not verified
→ D1 + KV + R2

How it works

The shape of 888wiki on Cloudflare, and how it stacks up against the rented tools it replaces.

Architecture

Diagram of deployment declarations at the reviewed commit. Each app has its own entrypoint; declared resources do not prove runtime calls. Follow file and line sources below.

View upstream source ↗
Public interface
Configured entry points1
888wiki
wrangler.toml
↓
App
888wiki
entry
Cloudflare Workers
Entrypoint: src/index.jsConfigured cron (UTC): 0 1 * * *
↓

Configuration and workflow sources

Reviewed commit 034d3358ad0e. This configuration evidence comes from reading source files. Execution checks, when available, appear in the project's runtime review.

Deployment configuration · 1 file
wrangler.toml ↗

Cloudflare Workers · compatibility 2024-12-01

888wiki · default

Entrypoint: src/index.js

Static assets: ./static

Cron triggers (UTC): 0 1 * * *

  • NOTE_HISTORY_DB → D1
  • NOTES → KV
  • SHARE → KV
  • IMAGES → R2
  • Static assets → Static assets

Named environments are separate deployments. Bindings are shown only where declared. Configured routes are URL patterns, not verified application endpoints.

Runtime source · handlers, binding usage and workflow steps

Observed TypeScript/JavaScript declarations from Worker entrypoints and resolved relative imports. Calls and workflow steps may run conditionally; their listed order is not a proven end-to-end request flow. Router declarations may be mounted under a prefix or may not be registered. This shows code wiring, not a successful deployment or runtime test. Dynamic wiring, aliases and generated code may not resolve.

src/admin_data.mjs ↗
  • L5 · safeNumber calls (conditional paths may differ): Number, Number.isFinite
  • L10 · clampInteger calls (conditional paths may differ): Number.parseInt, String, Number.isFinite, Math.min, Math.max
  • L16 · normalizeDateInput calls (conditional paths may differ): trim, String, test
  • L21 · normalizeAdminQuery calls (conditional paths may differ): SORT_FIELDS.has, params.get, clampInteger, trim, String, normalizeDateInput
  • L40 · dateBoundary calls (conditional paths may differ): map, value.split, Date.UTC, Math.floor
  • L47 · filterAdminNotes calls (conditional paths may differ): toLocaleLowerCase, trim, String, dateBoundary, notes.filter, safeNumber, title.includes, path.includes, content.includes
  • L67 · sortAdminNotes calls (conditional paths may differ): SORT_FIELDS.has, sort, toLocaleLowerCase, String, safeNumber, localeCompare
  • L86 · paginateAdminNotes calls (conditional paths may differ): clampInteger, Math.max, Math.ceil, Math.min, notes.slice
  • L102 · summarizeAdminNotes calls (conditional paths may differ): notes.reduce, safeNumber
src/block_renderer.mjs ↗
  • L11 · escapeHtml calls (conditional paths may differ): replace, String
  • L24 · safeUrl calls (conditional paths may differ): trim, text, raw.startsWith
  • L37 · safeDimension calls (conditional paths may differ): match, trim, text, Number
  • L45 · getYouTubeVideoId calls (conditional paths may differ): trim, text, test, safeUrl, url.startsWith, replace, parsed.hostname.toLowerCase, parsed.pathname.slice, parsed.searchParams.get, parsed.pathname.match
  • L63 · getDocumentForRendering calls (conditional paths may differ): parseBlockDocument, validateBlockDocument, createEmptyBlockDocument
  • L72 · renderTiptapInline calls (conditional paths may differ): join, nodes.map, renderTiptapInline, escapeHtml, text, safeUrl
  • L95 · renderTiptapNode calls (conditional paths may differ): Array.isArray, join, content.map, renderTiptapInline, Math.min, Math.max, parseInt, Number.isInteger, Number, includes, replace, text, escapeHtml, renderBlockToHtml, BLOCK_TYPES.has
  • L137 · markdownTiptapInline calls (conditional paths may differ): join, nodes.map, markdownTiptapInline, text, safeUrl
  • L154 · tableCellMarkdown calls (conditional paths may differ): replace, markdownTiptapInline
  • L158 · blockTableToMarkdown calls (conditional paths may differ): filter, rows.map, cells.some, row.some, Number, some, renderTiptapNode, Math.max, cells.map, Array.from, tableCellMarkdown, normalize, map, cells.slice, join, header.join, alignment.join
  • L177 · blockToMarkdownFromTiptap calls (conditional paths may differ): Array.isArray, join, filter, content.map, markdownTiptapInline, repeat, Math.min, Math.max, parseInt, map, blockToMarkdownFromTiptap, blockTableToMarkdown, text, blockToMarkdown, BLOCK_TYPES.has
  • L203 · validateBlockDocument calls (conditional paths may differ): isTiptapBlockDocument, normalizeTiptapBlockDocument, Array.isArray, Number.isInteger, input.blocks.map, BLOCK_TYPES.has, slice, text
  • L231 · parseBlockDocument calls (conditional paths may differ): createEmptyBlockDocument, validateBlockDocument, JSON.parse, value.trim
  • L247 · renderBlockToHtml calls (conditional paths may differ): getDocumentForRendering, isTiptapBlockDocument, renderTiptapNode, htmlParts.push, escapeHtml, closeListIfNeeded, Math.min, Math.max, parseInt, text, replace, safeUrl, safeDimension, getYouTubeVideoId, JSON.stringify, toLowerCase, mime.startsWith, htmlParts.join
  • L366 · blockToMarkdown calls (conditional paths may differ): getDocumentForRendering, isTiptapBlockDocument, blockToMarkdownFromTiptap, Math.min, Math.max, parseInt, lines.push, repeat, text, safeUrl, getYouTubeVideoId, JSON.stringify, trim, lines.join
src/audio_transcribe.mjs ↗
  • L6 · parseVttTimestamp calls (conditional paths may differ): replace, ts.trim, clean.split, Math.max, parseFloat, isNaN
  • L21 · formatSecondsToTimestamp calls (conditional paths may differ): isNaN, Math.floor, padStart, String
  • L33 · parseVttToSegments calls (conditional paths may differ): split, vttContent.replace, trim, replace, currentTextLines.join, segments.push, flushCurrent, line.startsWith, line.match, parseVttTimestamp, currentTextLines.push
  • L84 · normalizeTranscriptionSegments calls (conditional paths may differ): Array.isArray, trim, replace, String, isNaN, Math.max, normalized.push
  • L100 · formatTranscriptSegments calls (conditional paths may differ): normalizeTranscriptionSegments, trim, String, Math.max, validSegments.map, formatSecondsToTimestamp, paragraphs.push, paragraphs.join
src/block_document.mjs ↗
  • L9 · textContent calls (conditional paths may differ): text
  • L14 · propsForEmbed calls (conditional paths may differ): Array.isArray, Object.entries
  • L27 · isTiptapBlockDocument calls (conditional paths may differ): Boolean, Array.isArray
  • L32 · normalizeTiptapBlockDocument calls (conditional paths may differ): isTiptapBlockDocument, createTiptapBlockDocument
  • L37 · legacyBlockDocumentToTiptapDocument calls (conditional paths may differ): Array.isArray, content.push, Math.min, Math.max, Number, textContent, text, EMBED_BLOCK_TYPES.has, propsForEmbed, normalizeTiptapBlockDocument, createTiptapBlockDocument
  • L74 · toTiptapBlockDocument calls (conditional paths may differ): isTiptapBlockDocument, normalizeTiptapBlockDocument, Array.isArray, legacyBlockDocumentToTiptapDocument, createTiptapBlockDocument
src/annotation_data.mjs ↗
  • L13 · computeSourceRevision calls (conditional paths may differ): encode, String, crypto.subtle.digest, join, Array.from, padStart, byte.toString
  • L19 · encodeAnnotationCursor calls (conditional paths may differ): Number.isSafeInteger, replace, btoa
  • L27 · decodeAnnotationCursor calls (conditional paths may differ): test, padEnd, replace, value.replace, Math.ceil, atob, decoded.indexOf, Number, decoded.slice, Number.isSafeInteger
  • L46 · getResults calls (conditional paths may differ): Array.isArray
  • L50 · normalizeLimit calls (conditional paths may differ): Number.parseInt, String, Number.isFinite, Math.min
  • L56 · presentMessage calls (conditional paths may differ): Number
  • L65 · presentThread calls (conditional paths may differ): Number
  • L85 · normalizeAnnotationMessageInput calls (conditional paths may differ): input.authorName.trim, input.body.trim
  • L101 · validateAnnotationMessage calls (conditional paths may differ): normalizeAnnotationMessageInput
  • L105 · validateAnnotationDraft calls (conditional paths may differ): normalizeAnnotationMessageInput, exact.trim, Number.isSafeInteger, test
  • L145 · createAnnotationDeleteToken calls (conditional paths may differ): encode, crypto.subtle.importKey, crypto.subtle.sign, join, Array.from, padStart, byte.toString
  • L161 · constantTimeTokenCompare calls (conditional paths may differ): a.charCodeAt, b.charCodeAt
  • L171 · verifyAnnotationDeleteToken calls (conditional paths may differ): createAnnotationDeleteToken, constantTimeTokenCompare
  • L177 · createAnnotationThread calls (conditional paths may differ): Math.floor, Date.now, crypto.randomUUID, createId, db.batch, bind, db.prepare, createAnnotationDeleteToken
  • L241 · addAnnotationMessage calls (conditional paths may differ): Math.floor, Date.now, crypto.randomUUID, normalizeAnnotationMessageInput, test, createId, db.batch, bind, db.prepare, Number, createAnnotationDeleteToken
  • L297 · deleteAnnotationMessage calls (conditional paths may differ): Math.floor, Date.now, db.batch, bind, db.prepare, Number
  • L346 · deleteAnnotationThread calls (conditional paths may differ): Math.floor, Date.now, db.batch, bind, db.prepare, Number
  • L383 · listAnnotationThreads calls (conditional paths may differ): normalizeLimit, decodeAnnotationCursor, db.prepare, getResults, all, threadStatement.bind, threadRows.slice, join, pageRows.map, bind, messagesByThread.get, presentMessage, messageCountsByThread.set, Number, pageRows.filter, messageCountsByThread.get, activePageRows.map, presentThread, encodeAnnotationCursor
src/blocknote_document.mjs ↗
  • L8 · toBlockNoteInline calls (conditional paths may differ): Array.isArray, output.push, text
  • L32 · integerInRange calls (conditional paths may differ): Number, Number.isInteger
  • L37 · tableCellAttrs calls (conditional paths may differ): integerInRange, includes
  • L50 · toBlockNoteTable calls (conditional paths may differ): filter, integerInRange, Array.isArray, attrs.columnWidths.map, Number.isFinite, rows.map, map, TABLE_CELL_TYPES.has, tableCellAttrs, toBlockNoteInline
  • L79 · toBlockNoteBlock calls (conditional paths may differ): Array.isArray, toBlockNoteInline, Math.min, Math.max, Number, text, toBlockNoteTable, map, content.filter, EMBED_KINDS.has
  • L102 · tiptapToBlockNoteDocument calls (conditional paths may differ): toTiptapBlockDocument, toBlockNoteBlock, Array.isArray, blocks.push
  • L113 · toTiptapInline calls (conditional paths may differ): Array.isArray, nodes.push, toTiptapInline, text, marks.push
  • L136 · tiptapEmbed calls (conditional paths may differ): Object.entries
  • L142 · fromBlockNoteTable calls (conditional paths may differ): Array.isArray, integerInRange, table.columnWidths.map, Number.isFinite, rows.map, map, tableCellAttrs, toTiptapInline
  • L171 · fromBlockNoteBlock calls (conditional paths may differ): toTiptapInline, Math.min, Math.max, Number, text, fromBlockNoteTable, tiptapEmbed
  • L187 · blockNoteToTiptapDocument calls (conditional paths may differ): toTiptapInline, content.at, previous.content.push, content.push, fromBlockNoteBlock, createTiptapBlockDocument
src/canvas_document.mjs ↗
  • L50 · cloneDefaultCanvas calls (conditional paths may differ): DEFAULT_CANVAS_NODES.map, structuredClone, DEFAULT_CANVAS_EDGES.map
  • L57 · isPlainObject calls (conditional paths may differ): Boolean, Array.isArray
  • L61 · normalizeNode calls (conditional paths may differ): isPlainObject
  • L82 · normalizeCanvasDocument calls (conditional paths may differ): isPlainObject, value.nodes.map
  • L95 · parseCanvasDocument calls (conditional paths may differ): value.trim, normalizeCanvasDocument, JSON.parse
  • L108 · assertString calls (conditional paths may differ): value.trim
  • L115 · assertInteger calls (conditional paths may differ): Number.isInteger
  • L119 · assertOptionalString calls (conditional paths may differ): assertString
  • L123 · assertSafeLinkUrl calls (conditional paths may differ): assertString, includes
  • L136 · validateNode calls (conditional paths may differ): isPlainObject, assertString, seenIds.has, seenIds.add, JSON_CANVAS_NODE_TYPES.has, assertInteger, assertOptionalString, assertSafeLinkUrl, includes
  • L183 · validateEdge calls (conditional paths may differ): isPlainObject, assertString, seenIds.has, seenIds.add, nodeIds.has, JSON_CANVAS_SIDES.has, JSON_CANVAS_ENDS.has, assertOptionalString, includes, Number
  • L214 · validateCanvasDocument calls (conditional paths may differ): isPlainObject, Array.isArray, validateNode, validateEdge
  • L228 · canvasToMarkdown calls (conditional paths may differ): Array.isArray, join, filter, doc.nodes.map
src/citation.mjs ↗
  • L6 · generateCitations calls (conditional paths may differ): isNaN, pubDate.getTime, accDate.getTime, validPubDate.getFullYear, validPubDate.getMonth, validPubDate.getDate, validAccDate.getFullYear, validAccDate.getMonth, validAccDate.getDate, slice, validAccDate.toISOString, trim, String, cleanUrl.replace, cleanUrl.match, monthShort.replace, accMonthShort.replace
src/cookie_compat.mjs ↗
  • L3 · parseRequestCookies calls (conditional paths may differ): parseCookie
  • L7 · serializeResponseCookie calls (conditional paths may differ): stringifySetCookie
src/discovery.mjs ↗
  • L53 · buildLlmsTxt calls (conditional paths may differ): replace, String
  • L107 · buildLlmsFullTxt calls (conditional paths may differ): replace, String
  • L222 · applyDiscoveryHeaders calls (conditional paths may differ): getDiscoveryLinks, params.push, headers.append, params.join
  • L231 · escapeXml calls (conditional paths may differ): replaceAll, String
  • L240 · buildSitemapXml calls (conditional paths may differ): join, entries.map, filter, escapeXml
  • L256 · buildRobotsTxt calls (conditional paths may differ): join
  • L716 · requestAcceptsMarkdown calls (conditional paths may differ): toLowerCase, String, request.headers.get, accept.includes
  • L721 · yamlScalar calls (conditional paths may differ): JSON.stringify, String
  • L725 · buildMarkdownDocument calls (conditional paths may differ): filter, Object.entries, String, join, fields.map, yamlScalar
  • L736 · createMarkdownResponse calls (conditional paths may differ): createDiscoveryResponse
  • L792 · sha256Hex calls (conditional paths may differ): encode, crypto.subtle.digest, join, Array.from, padStart, byte.toString
  • L798 · buildAgentSkillsIndex calls (conditional paths may differ): sha256Hex
  • L813 · createDiscoveryResponse calls (conditional paths may differ): applyDiscoveryHeaders
src/fido_auth.mjs ↗
  • L8 · base64UrlToBytes calls (conditional paths may differ): replace, base64url.replace, repeat, Buffer.from, atob, binary.charCodeAt
  • L23 · bytesToBase64Url calls (conditional paths may differ): toString, Buffer.from, String.fromCharCode, replace, btoa
  • L39 · generateChallenge calls (conditional paths may differ): crypto.getRandomValues, bytesToBase64Url
  • L49 · derToP1363 calls (conditional paths may differ): bytes.slice, r.slice, s.slice, p1363.set
  • L83 · decodeCbor calls (conditional paths may differ): data.slice, decode, arr.push, parseItem, map.set
  • L87 · parseItem calls (conditional paths may differ): data.slice, decode, arr.push, parseItem, map.set
  • L157 · extractRawPublicKeyFromCose calls (conditional paths may differ): decodeCbor, map.get, raw.set
  • L193 · parseAttestationObject calls (conditional paths may differ): decodeCbor, cbor.get, authData.slice, Boolean, extractRawPublicKeyFromCose, bytesToBase64Url
  • L241 · verifyFidoAssertion calls (conditional paths may differ): base64UrlToBytes, decode, JSON.parse, crypto.subtle.digest, encode, authDataBytes.slice, signatureBase.set, crypto.subtle.importKey, derToP1363, crypto.subtle.verify
  • L333 · getFidoCredentials calls (conditional paths may differ): kv.get, JSON.parse, Array.isArray
  • L345 · saveFidoCredential calls (conditional paths may differ): Date.now, getFidoCredentials, list.findIndex, list.push, kv.put, JSON.stringify
  • L359 · deleteFidoCredential calls (conditional paths may differ): getFidoCredentials, list.filter, kv.put, JSON.stringify
  • L367 · storeFidoChallenge calls (conditional paths may differ): kv.put, JSON.stringify, Date.now
  • L375 · verifyAndConsumeFidoChallenge calls (conditional paths may differ): kv.get, kv.delete
src/helper.js ↗
  • L32 · returnPage calls (conditional paths may differ): getGaMeasurementId, getNoteHistoryConfig
  • L48 · returnJSON calls (conditional paths may differ): JSON.stringify, Number.isInteger
  • L76 · MD5 calls (conditional paths may differ): console.warn, String, encode, crypto.subtle.digest, Array.from, join, hashArray.map, padStart, b.toString, digest, update, nodeCrypto.createHash, console.error
  • L98 · saltPw calls (conditional paths may differ): MD5, getSalt
  • L103 · legacySaltPw calls (conditional paths may differ): MD5
  • L108 · constantTimeStringCompare calls (conditional paths may differ): a.charCodeAt, b.charCodeAt
  • L118 · passwordMatches calls (conditional paths may differ): saltPw, constantTimeStringCompare, legacySaltPw
  • L130 · getPasswordRole calls (conditional paths may differ): resolvePasswordRole
  • L134 · checkAuth calls (conditional paths may differ): getSecret, jwt.verify, jwt.decode, console.warn
  • L158 · queryNote calls (conditional paths may differ): driverQueryNote
  • L162 · deleteNoteHistoryForPath calls (conditional paths may differ): getNoteHistoryConfig, deleteNoteHistoryVersions
  • L168 · getI18n calls (conditional paths may differ): toLowerCase, rawLang.trim, lang.startsWith, Cookies.parse, request.headers.get, normalizeLang, filter, map, al.split, trim, lang.split, find, acceptList.map
  • L194 · deleteEmptyPages calls (conditional paths may differ): getNotesNamespace, kv.list, driverQueryNote, trim, String, Boolean, driverDeleteNote, MD5, getShareNamespace, shareKv.delete, deleteNoteHistoryForPath, deleted.push, errors.push
src/index.js ↗
  • L4469 · fetch handler exported · calls bindRuntimeEnv, router.handle, ctx.waitUntil, applyDiscoveryHeaders, console.error
  • L4507 · scheduled handler exported · calls bindRuntimeEnv, console.log, toISOString, deleteEmptyPages, console.error
  • L650 · router.get("/")
  • L715 · router.get("/new/whiteboard")
  • L716 · router.get("/new/canvas")
  • L717 · router.get("/new/block")
  • L718 · router.get("/new/markdown")
  • L719 · router.get("/_pwa-offline")
  • L720 · router.get("/app.webmanifest")
  • L1220 · router.post("/upload")
  • L1587 · router.post("/api/audio/transcribe")
  • L1656 · router.post("/api/url-meta")
  • L1692 · router.post("/api/url2md")
  • L1709 · router.get("/api/url2md")
  • L1720 · router.post("/api/markdown/render")
  • L1760 · router.post("/api/markdown/parse")
  • L1790 · router.post("/api/markdown/extract")
  • L1811 · router.post("/api/markdown/lint")
  • L1906 · router.post("/api/pdf/export")
  • L1907 · router.post("/api/markdown/pdf")
  • L1908 · router.get("/api/pdf/export")
  • L1910 · router.post("/api/new-note")
  • L1939 · router.post("/share/:shareId/auth")
  • L2213 · router.get("/share/:shareId")
  • L2221 · router.post("/share/:shareId/reveal")
  • L2225 · router.get("/share/:shareId/present")
  • L2233 · router.post("/share/:shareId/present/reveal")
  • L2237 · router.get("/share/:shareId/book")
  • L2245 · router.post("/share/:shareId/book/reveal")
  • L2302 · router.get("/api/shares/:shareId/pulse")
  • L2303 · router.post("/api/shares/:shareId/pulse")
  • L2305 · router.post("/api/shares/:shareId/reveal")
  • L2505 · router.get("/share/:shareId/export/pdf")
  • L2506 · router.get("/share/:shareId/export.pdf")
  • L2507 · router.get("/api/shares/:shareId/pdf")
  • L2509 · router.get("/api/shares/:shareId/annotations")
  • L2663 · router.post("/api/shares/:shareId/annotations")
  • L2691 · router.post("/api/shares/:shareId/annotations/:threadId/messages")
  • L2723 · router.delete("/api/shares/:shareId/annotations/:threadId/messages/:messageId")
  • L2767 · router.delete("/api/shares/:shareId/annotations/:threadId")

Environment references: env.AI · env.GROQ_API_KEY · context.env.AI · context.env.SHARE

src/markdown-processor.mjs ↗
  • L12 · escapeHtml calls (conditional paths may differ): replace, String
  • L28 · renderMarkdownToHtml calls (conditional paths may differ): String, protectCurrencyDollarSigns, markdown.split, escapeHtml, codeBuffer.join, htmlParts.push, trim, test, split, replace, row.replace, join, cells.map, renderInline, c.trim, res.replace, filter, line.trim, flushCode, flushList
  • L43 · flushCode calls (conditional paths may differ): escapeHtml, codeBuffer.join, htmlParts.push
  • L53 · flushList calls (conditional paths may differ): htmlParts.push
  • L59 · flushTable calls (conditional paths may differ): trim, test, split, replace, row.replace, join, cells.map, renderInline, c.trim, htmlParts.push
  • L82 · renderInline calls (conditional paths may differ): escapeHtml, res.replace, join, filter
  • L282 · parseHtmlToMarkdown calls (conditional paths may differ): String, html.trim, md.replace, replace, code.replace, decoded.trim, join, map, split, content.trim, l.trim, trim
  • L354 · extractMarkdownData calls (conditional paths may differ): String, markdown.split, line.trim, test, line.match, headings.push, trim, line.matchAll, links.push, images.push, replace, markdown.replace, headings.find, lines.find, l.trim, plainText.replace, filter, split, plainText.trim, Math.max
  • L442 · lintMarkdownText calls (conditional paths may differ): String, markdown.split, line.trim, line.match, fixedLines.push, line.includes, m.match, inner.includes, issues.push, m.replace, line.replace, test, line.trimEnd, codeFenceChar.repeat, fixedLines.join
src/mcp_server.mjs ↗
  • L358 · md5Hex calls (conditional paths may differ): String, encode, crypto.subtle.digest, Array.from, join, hashArray.map, padStart, b.toString, digest, update, nodeCrypto.createHash
  • L376 · saltPassword calls (conditional paths may differ): md5Hex
  • L382 · checkPasswordMatch calls (conditional paths may differ): saltPassword, md5Hex
  • L390 · checkPasswordRole calls (conditional paths may differ): resolvePasswordRole
  • L394 · createJsonResponse calls (conditional paths may differ): JSON.stringify
  • L405 · ensureMcpShareMetadata calls (conditional paths may differ): genRandomStr, driverQueryShare, slice, toString, Date.now
  • L436 · applyVaultMetadata calls (conditional paths may differ): unix, dayjs, parseExpirationSeconds, genRandomStr
  • L472 · persistMcpNote calls (conditional paths may differ): driverPutNote, md5Hex, driverPutShare, getNoteHistoryConfig, saveNoteHistoryVersionIfNeeded, unix, dayjs, console.error
  • L508 · executeMcpTool calls (conditional paths may differ): trim, String, driverQueryNote, Object.keys, checkPasswordMatch, validateCanvasDocument, parseCanvasDocument, JSON.stringify, checkPasswordRole, buildWikiLinkCanvas, executeMcpTool, unix, dayjs, normalizePreviewWidth, saltPassword, canPersistNoteContent, applyVaultMetadata, ensureMcpShareMetadata, persistMcpNote, toISOString
  • L1031 · handleMcpRequest calls (conditional paths may differ): request.method.toUpperCase, createJsonResponse, request.json, Array.isArray, jsonResponse, Promise.all, requests.map, executeMcpTool, responses.filter
src/note_history_presenter.js ↗
  • L4 · normalizeLine calls (conditional paths may differ): trim, replace, String
  • L11 · truncateText calls (conditional paths may differ): trim, String, trimEnd, value.slice, Math.max
  • L17 · summarizeHistoryContent calls (conditional paths may differ): filter, map, split, String, lines.find, truncateText
  • L32 · formatHistoryCharacterCount calls (conditional paths may differ): String
src/note_history.mjs ↗
  • L8 · parseInteger calls (conditional paths may differ): Number.parseInt, trim, String, Number.isFinite
  • L13 · parseNonNegativeInteger calls (conditional paths may differ): parseInteger
  • L18 · getNoteHistoryDb calls (conditional paths may differ): readRuntimeVar
  • L22 · getNoteHistoryLimit calls (conditional paths may differ): parseNonNegativeInteger, readRuntimeVar
  • L26 · getNoteHistoryMinIntervalSeconds calls (conditional paths may differ): parseNonNegativeInteger, readRuntimeVar
  • L33 · isNoteHistoryConfigured calls (conditional paths may differ): trim, String, readRuntimeVar
  • L37 · getNoteHistoryConfig calls (conditional paths may differ): isNoteHistoryConfigured, getNoteHistoryLimit, getNoteHistoryMinIntervalSeconds, getNoteHistoryDb
  • L47 · shouldSaveNoteHistory calls (conditional paths may differ): String, Number, Number.isFinite
  • L77 · getFirstResult calls (conditional paths may differ): statement.first, statement.all, Array.isArray
  • L85 · getAllResults calls (conditional paths may differ): statement.all, Array.isArray
  • L91 · getLatestNoteHistoryVersion calls (conditional paths may differ): getFirstResult, bind, db.prepare
  • L104 · listNoteHistoryVersions calls (conditional paths may differ): getAllResults, bind, db.prepare
  • L117 · getNoteHistoryCounts calls (conditional paths may differ): Array.isArray, paths.filter, uniquePaths.slice, join, chunk.map, all, bind, db.prepare, counts.set, Number
  • L143 · getNoteHistoryVersionById calls (conditional paths may differ): getFirstResult, bind, db.prepare
  • L155 · insertNoteHistoryVersion calls (conditional paths may differ): run, bind, db.prepare
  • L163 · pruneNoteHistoryVersions calls (conditional paths may differ): run, bind, db.prepare
  • L186 · deleteNoteHistoryVersions calls (conditional paths may differ): run, bind, db.prepare
  • L194 · saveNoteHistoryVersionIfNeeded calls (conditional paths may differ): Math.floor, Date.now, getLatestNoteHistoryVersion, shouldSaveNoteHistory, insertNoteHistoryVersion, String, pruneNoteHistoryVersions
src/note_meta.js ↗
  • L3 · isIgnoredTitleLine calls (conditional paths may differ): test
  • L14 · normalizeTitleCandidate calls (conditional paths may differ): trim, String, isIgnoredTitleLine, substring, replace, trimmed.replace
  • L30 · isWeakTitleCandidate calls (conditional paths may differ): test, value.trim
  • L34 · tiptapNodeText calls (conditional paths may differ): Array.isArray, join, node.content.map
  • L40 · getTiptapDocument calls (conditional paths may differ): trim, String, trimmed.startsWith, trimmed.includes, JSON.parse, Array.isArray
  • L51 · extractContentTitle calls (conditional paths may differ): trim, String, getTiptapDocument, normalizeTitleCandidate, tiptapNodeText, isIgnoredTitleLine, isWhiteboardContent, JSON.parse, element.text.split, trimmedVal.startsWith, trimmedVal.includes, Array.isArray, n.text.trim, n.text.split, n.label.trim, b.props.text.trim, slice, split, line.trim, test
  • L183 · extractNoteTitle calls (conditional paths may differ): normalizeTitleCandidate, extractContentTitle
  • L192 · extractNoteDescription calls (conditional paths may differ): trim, String, getTiptapDocument, join, filter, tiptapDocument.content.map, isWhiteboardContent, JSON.parse, map, trimmedVal.startsWith, trimmedVal.includes, Array.isArray, parsed.nodes.map, parsed.blocks.map, replace, str.replace, substring
  • L241 · isNewNoteEntry calls (conditional paths may differ): filter, Object.keys, metadataKeys.every, url.searchParams.get, trim, String
  • L257 · formatNewNoteTitle calls (conditional paths may differ): Math.min, Math.max, Math.floor, random
  • L273 · isCanvasContent calls (conditional paths may differ): Array.isArray, content.trim, trimmed.startsWith, trimmed.endsWith, JSON.parse, Boolean
  • L292 · isWhiteboardContent calls (conditional paths may differ): content.trim, trimmed.startsWith, trimmed.includes, JSON.parse, Boolean, Array.isArray
  • L307 · resolveEditorFormat calls (conditional paths may differ): isWhiteboardContent, isCanvasContent
  • L316 · resolveLockedEditorFormat calls (conditional paths may differ): validFormats.includes
  • L331 · parseExpirationSeconds calls (conditional paths may differ): Number.isFinite, Math.floor, toLowerCase, value.trim, str.match, parseInt, unit.startsWith
  • L360 · isShareExpired calls (conditional paths may differ): Math.floor, Date.now, Number, Number.isFinite
  • L365 · isShareBurned calls (conditional paths may differ): Number, Number.isFinite, Math.max, parseInt
  • L374 · isShareTimeLocked calls (conditional paths may differ): Math.floor, Date.now, Number, Number.isFinite
  • L380 · isShareDeadmanLocked calls (conditional paths may differ): Math.floor, Date.now, Number, Number.isFinite
  • L386 · formatShareRemainingTime calls (conditional paths may differ): Math.floor, Date.now, Number, Number.isFinite, Math.ceil
src/note_stats.mjs ↗
  • L8 · resolveViewDeviceId calls (conditional paths may differ): crypto.randomUUID, VIEW_DEVICE_ID_PATTERN.test, createDeviceId
  • L27 · hashViewDeviceId calls (conditional paths may differ): VIEW_DEVICE_ID_PATTERN.test, crypto.subtle.digest, encode, join, map, padStart, byte.toString
  • L52 · getNoteViewCount calls (conditional paths may differ): first, bind, db.prepare, Number, Number.isSafeInteger
  • L66 · recordUniqueNoteView calls (conditional paths may differ): Math.floor, Date.now, VIEW_DEVICE_HASH_PATTERN.test, db.batch, bind, db.prepare, Number, Number.isSafeInteger
src/pdf_service.mjs ↗
  • L20 · getPdfFonts calls (conditional paths may differ): googleFonts, console.warn
  • L61 · buildPdfDocumentHtml calls (conditional paths may differ): replace, String, getPdfBaseStyles
  • L177 · convertMermaidBlocksToSvg calls (conditional paths may differ): html.includes, html.matchAll, trim, replace, toString, Buffer.from, JSON.stringify, fetch, AbortSignal.timeout, resp.text, svg.includes, resultHtml.replace, console.warn, resultHtml.matchAll
  • L254 · normalizeAllSvgsInHtml calls (conditional paths may differ): html.includes, html.replace, svgMatch.match, parseFloat, Math.min, Math.round, replace, cleanOpenTag.replace, svgMatch.replace
  • L318 · renderHtmlToPdf calls (conditional paths may differ): convertMermaidBlocksToSvg, normalizeAllSvgsInHtml, buildPdfDocumentHtml, fromHtml, extractEmojis, replace, String, getPdfFonts, takumi.render, split, toISOString
  • L389 · renderMarkdownToPdf calls (conditional paths may differ): renderMarkdownToHtml, renderHtmlToPdf
  • L401 · createPdfResponse calls (conditional paths may differ): filename.endsWith, replace, safeFilename.replace, encodeURIComponent, String
src/storage_driver.mjs ↗
  • L15 · getStorageDriverName calls (conditional paths may differ): toLowerCase, trim, String, readRuntimeVar, includes
  • L23 · getStorageDb calls (conditional paths may differ): readRuntimeVar
  • L27 · getNotesKv calls (conditional paths may differ): readRuntimeVar
  • L31 · getShareKv calls (conditional paths may differ): readRuntimeVar
  • L40 · driverQueryNote calls (conditional paths may differ): getStorageDriverName, getStorageDb, getNotesKv, first, bind, db.prepare, JSON.parse, console.error, kv.getWithMetadata
  • L87 · driverPutNote calls (conditional paths may differ): getStorageDriverName, getStorageDb, getNotesKv, JSON.stringify, run, bind, db.prepare, console.error, kv.put
  • L123 · driverDeleteNote calls (conditional paths may differ): getStorageDb, getNotesKv, run, bind, db.prepare, console.warn, kv.delete
  • L145 · md5Hex calls (conditional paths may differ): String, encode, crypto.subtle.digest, Array.from, join, hashArray.map, padStart, b.toString, digest, update, nodeCrypto.createHash
  • L163 · driverQueryShare calls (conditional paths may differ): getStorageDriverName, getStorageDb, getShareKv, first, bind, db.prepare, catch, run, test, all, md5Hex, hash.toLowerCase, shareId.toLowerCase, console.error, kv.get
  • L231 · driverPutShare calls (conditional paths may differ): getStorageDriverName, getStorageDb, getShareKv, run, bind, db.prepare, console.error, Math.floor, Date.now, Number, kv.put
  • L267 · driverDeleteShare calls (conditional paths may differ): getStorageDb, getShareKv, run, bind, db.prepare, console.warn, kv.delete
  • L290 · driverSetShareStatus calls (conditional paths may differ): getShareKv, kv.delete, console.warn, kv.put, JSON.stringify, Math.floor, Date.now
  • L317 · driverGetShareStatus calls (conditional paths may differ): getShareKv, kv.get, JSON.parse
  • L333 · driverFindNoteByShareId calls (conditional paths may differ): getStorageDb, first, bind, db.prepare, JSON.parse, console.warn
  • L368 · driverClaimBurnShare calls (conditional paths may differ): Math.floor, Date.now, getStorageDb, getShareKv, getNotesKv, IN_FLIGHT_CLAIMS.has, IN_FLIGHT_CLAIMS.set, setTimeout, IN_FLIGHT_CLAIMS.delete, driverGetShareStatus, run, bind, db.prepare, console.warn, slice, toString, Math.random, kv.put, kv.get, driverSetShareStatus
src/whiteboard_document.mjs ↗
  • L75 · isPlainObject calls (conditional paths may differ): Boolean, Array.isArray
  • L79 · isWhiteboardContent calls (conditional paths may differ): content.trim, trimmed.startsWith, JSON.parse, Boolean, Array.isArray, isPlainObject
  • L94 · parseWhiteboardDocument calls (conditional paths may differ): isPlainObject, input.trim, JSON.parse, Array.isArray
  • L108 · validateWhiteboardDocument calls (conditional paths may differ): isPlainObject, Array.isArray
  • L124 · whiteboardToMarkdown calls (conditional paths may differ): parseWhiteboardDocument, Array.isArray, el.text.trim, texts.push, join, texts.map, t.replace
Build and deployment pipeline · 0 GitHub Actions workflows

Repository CI declarations, separate from runtime request processing. Job dependencies and conditions are shown as written; long commands are shortened with an ellipsis; a workflow file does not prove a recent successful run.

No GitHub Actions workflow was found in the collected tree. Deployment may be manual or configured elsewhere.

package.json ↗
  • build:block-editor: node scripts/build-block-editor.mjs
  • build:canvas-editor: node scripts/build-canvas-editor.mjs
  • build:whiteboard-editor: node scripts/build-whiteboard-editor.mjs
  • build:ocr: node scripts/build-ocr-client.mjs
  • predeploy: npm run prepare:skill-doc && npm run build:block-editor && npm run build:canvas-editor && npm run build:whiteboard-editor && npm run build:ocr
  • deploy: npm run db:init && wrangler deploy
  • prepublish: npm run prepare:skill-doc
  • publish: wrangler deploy

Full upstream document by @tbdavid2019 · README.md · snapshot 034d335

888wiki

A Markdown-first knowledge workspace you can run in your own Cloudflare account. Start with plain Markdown, capture voice, files, and web pages into it, then use Block, Canvas, or Whiteboard when the work calls for another shape.

Deploy to Cloudflare

Live site · API · Agent Skill

Capture voice, files, or web pages in one menu

The + New menu moves content from wherever it starts into a note:

  • Live recording: Save a local recording and player in IndexedDB, transcribe it when online, then upload it to the 888box attachment service when you publish or sync.
  • Import audio (Transcript): Get a faithful transcript with timestamps.
  • Import audio (Smart format): Turn speech into organized sections with AI.
  • Import file: Convert Markdown, Office documents, PDFs, spreadsheets, and more into a note. Supported document conversion runs in the browser; drag and drop also offers attachment upload when you want to keep the original file.
  • Import website: Extract supported public pages into Markdown; insert or replace content in the current note, or create the note from an empty editor.

The same import choices can create Markdown notes or convert content into editable Block documents.

Choose the right workspace for the idea

Mode Best for What you get
Markdown Articles, research, and technical notes Live preview, math, diagrams, citations, imports, search and replace, and flexible layouts.
Block Structured pages and mixed media Rich editable blocks, slash commands, drag-to-reorder, editable embeds, and direct exports.
Canvas Maps, plans, and connected ideas Eight kinds of thought cards, labeled relationships, media cards, undo/redo, and .canvas / PNG / SVG export.
Whiteboard Sketches and visual explanations Excalidraw drawing tools, read-only sharing, and PNG / SVG export.

Seal: publish on a schedule, or let a rule decide

Seal separates content passwords from release timing. Set a scheduled unlock, burn a public share after a chosen number of views, release it after a missed check-in, or expire a link on a deadline. Ten presets cover single-view credential sharing (including the One-Time Password preset; 1-hour expiry), Shared Secrets (1-day expiry), Crypto Inheritance, Emergency Backup, Whistleblower disclosures, Product Launches, Birthday Gifts, Legal Holds, Scavenger Hunts, and Course Content. The One-Time Password preset controls a share; it does not generate or verify OTP codes. Presets never change the note body, and burning a share leaves the author's original note intact.

Your writing and publishing workspace

  • AI writing: Format, rewrite, and translate drafts; transcribe recordings with Groq as the primary provider and Workers AI as fallback.
  • Publish and present: Share public or password-protected notes in a responsive reader featuring a left-side outline spine rail (dashes - for major headings, dots · for subheadings) and a slide-out TOC drawer, section-aware reading progress, one-tap dedicated print and vector PDF export, front-row import/export controls, Fitts's Law-optimized high-frequency visual controls (theme, dark mode, and preview width positioned right beside publish and save), unified security & access protection (edit lock, view lock, and Seal controls consolidated into the share dropdown for a streamlined bottom toolbar), developer & agent info consolidated into a single popover dropdown and auto-hidden on mobile RWD, mobile quick tools dropdown, restore D1 history, discuss selected passages, and present content as books or slides.
  • Work offline & Smart Sync: Keep browser drafts in IndexedDB, monitor live sync status with a compact cloud icon state capsule ([ ☁️🟢 | ▾ ], eliminating bulky text and layout shifts), toggle idle autosave, and sync pending changes or inspect and restore D1 cloud history on demand (accessible from both the Save & Sync menu and the publication status version count).
  • Keep control of the stack: One-click deploy the Worker, KV/D1 note storage, and R2 image storage to your Cloudflare account. Core notes and images stay in your account; published audio and large-file attachments use the external 888box service.

A Markdown workspace with room to shape the page

Markdown is the starting point: write portable plain text, preview it live, and use math, diagrams, citations, footnotes, alerts, and extended Markdown syntax. Enjoy clean, standardized Lucide and Tabler vector iconography with pixel-perfect vertical and horizontal centering across all toolbars, menus, and modals. Editor toolbars feature Fitts's Law-optimized visual controls and a compact cloud save capsule, using a consistent warm palette in light and dark UI modes with restrained active states and square-corner controls. Receive inspiration from bilingual editor tips and Tagore's Stray Birds poetry upon opening a new note. Choose from 20 colorful light and dark themes, fonts, preview widths, and split layouts. The same Markdown can become a book or slide presentation.

Built for agents and automation

Connect compatible agents and LLM clients through the native /mcp endpoint, browser WebMCP tools, the REST API and OpenAPI description, or the published Agent Skill. These interfaces let agents read, create, and publish wiki content using documented formats and permissions.

Get started

The installation guide lists required secrets, every optional parameter, and the defaults included in the deployment configuration.

Project

Frequently asked about 888wiki

What is 888wiki?+

888wiki is a self-hosted Notion alternative built on the Cloudflare developer platform. Markdown notes, visual workspaces and controlled publishing in your Cloudflare account.

What does 888wiki replace?+

888wiki is listed as an alternative to Notion. Compare the features and tradeoffs before migrating.

What Cloudflare primitives does 888wiki use?+

888wiki is built on D1, KV, R2, Workers.

How much does 888wiki cost to run?+

The reviewed Cloudflare deployment is eligible for Free-plan allowances for the stated small workload and feature scope. Usage limits, CPU, required account setup and separate services apply. Assess the core text-note and image deployment only; Groq, 888box and optional AI integrations have separate accounts and costs. Stay within KV's daily write/read/list quotas; frequent autosave and public note traffic must be measured. D1 note history retention and R2 images must stay within their included storage and operation allowances. Workers Free dynamic requests are shared across this account (100,000/day), with 10 ms CPU per invocation; workload fit is conditional and has not been measured. D1 Free allowance: 5 million rows read/day, 100,000 rows written/day and 5 GB total storage; unindexed scans and history retention consume quota. KV Free allowance: 100,000 keys read/day and 1,000 each writes/deletes/list requests/day; this may constrain updates before Worker request limits. R2 Standard allowance: 10 GB-month storage, 1 million Class A and 10 million Class B operations/month; account activation may require billing setup, and other storage classes are excluded. Check current Cloudflare pricing before deploying.

Is 888wiki open source?+

The upstream repository declares the AGPL-3.0 license. Read its terms at https://raw.githubusercontent.com/tbdavid2019/888wiki/034d3358ad0ea98d213693ad2796ebc8ea4a1130/LICENSE. Source code and contributor credit are available at https://github.com/tbdavid2019/888wiki.

Community rating

No ratings yet. Tried this project? Share your experience.

One rating per verified account. You can change or remove yours. Accounts are email verified; use of the software is self-reported.

Discuss your experience ↓
Sign in to rate

Discussion · 0

sign in to comment →
No comments yet — be the first.