Skip to content

Latest commit

 

History

History
86 lines (62 loc) · 2.02 KB

File metadata and controls

86 lines (62 loc) · 2.02 KB

TODO

Timeline

0.0.1

  • Integrate md4c
  • Generate slugs for URLs and headers
  • Process Wiki-style links
  • Extensionless links
  • Implement basic HTML renderer
  • Replace reserved chars with HTML entities
  • Pretty print HTML
  • Collect backlinks
  • Read and parse frontmatter, probably with zig-yaml
  • Filter out empty and drafts/private notes
  • Pass sources via args
  • Pass output dir via args
  • Tests for rendered HTML pages

0.0.2

  • zig 0.15
  • Basic templates
  • --help argument

0.0.3

  • Index text content into sqlite DB
  • Basic FTS5 search and querying via CLI
  • Check for modified files, fetch from DB if not modified
  • Copy linked images/files to output directory
  • Stream long files from disc view reader interface
  • zig 0.16

0.0.4

  • Basic /search endpoint for UI
  • Setup sqlite-vec extension
  • Generate embeddings during parsing
  • Basic semantic search

Tasks

Markdown parsing

  • Add tests for Git book
  • Add tests for Obsidian vault

HTML

  • Templates: support backlinks
  • Templates: table of contents
  • Bundle JS & CSS (get dep graph, dedupe, bundle with esbuild)
  • Enhanced client-side navigation, prefetching
  • Web Components/frameworks support
  • Render formulas with KaTeX
  • Write basic tests for md-html conversion
  • Generate Table of Contents
  • Embeds

Sources/Indexing

  • Fetch content from git repo
  • Versioning
  • Generate chronological Archive/All posts info
  • Pin current pages version
  • Generate RSS feed
  • Hash/diff individual paragraphs
  • Fix single-file input, processFile fails with NotDir
  • Parallel indexing/rendering

Server

  • Support for Range header

Metadata

  • Created/last edited at timestamps
  • Support alias

CLI

Chores