Skip to content

MaxwellBo/celine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

606 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@celine project monorepo

The project website maxbo.me/celine, rather than this README.md, has the demos, installation instructions, API docs and additional resources you might be looking for.

This monorepo contains the following packages:

demo

Local development

Prerequisites

  • Bun v1.3.10+ (canary required for standalone HTML builds)

Setup

bun install

Dev server

Bun's built-in HTML dev server bundles and serves the pages with hot reloading:

bun run dev

This serves all pages concurrently:

  • http://localhost:3000/index.html
  • http://localhost:3000/overviewoverview.html
  • http://localhost:3000/bibhtml/bibhtml/index.html
  • http://localhost:3000/libertine/libertine/index.html

The dev server resolves local imports from celine/mod.ts and bibhtml/mod.ts automatically, so changes to the source modules are reflected immediately.

Publishing to JSR

The source modules use bare import specifiers (e.g. @observablehq/runtime) which are resolved by:

  • Bun: via node_modules/ (after bun install)
  • Deno/JSR: via the imports map in each package's deno.json

About

🐌 A suite of libraries for building reactive HTML notebooks with inline contenteditable <script>s

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages