sledge
A SQLite-backed event and work engine that stays consistent across retries, restarts, and failures.
File Explorer
- ci.yml
- release.yml
- settings.json
- operators.test.ts
- operators.ts
- better-sqlite3-ledger.contract.test.ts
- better-sqlite3-ledger.ts
- database-ledger-engine.test.ts
- database-ledger-engine.ts
- event-ref.ts
- internal-storage.ts
- ledger-composition.test-support.ts
- ledger-composition.test.ts
- ledger-composition.ts
- ledger-identity.ts
- ledger-projections.test.ts
- ledger.contract.ts
- ledger.ts
- materialization-hygiene.test.ts
- operator-bindings.ts
- operator-runtime.ts
- package-exports.test.ts
- projection-access.ts
- projection-kysely-compiler.test.ts
- projection-kysely-compiler.ts
- projection-kysely-runtime.ts
- projection-sql-compiler.ts
- projections.test.ts
- projections.ts
- sledge-application.ts
- sqlite-ledger-close.contract.ts
- sqlite-wal-checkpoint.ts
- turso-ledger.contract.test.ts
- turso-ledger.ts
- async-signals.ts
- contracts.ts
- node-runtime.test.ts
- node-runtime.ts
- virtual-runtime.test.ts
- virtual-runtime.ts
- better-sqlite3.ts
- durable-object.test.ts
- durable-object.ts
- exception.test.ts
- exception.ts
- ledger-public.test.ts
- ledger.ts
- module.test.ts
- sledge.test.ts
- sledge.ts
- turso.ts
- .gitignore
- .npmignore
- AGENTS.md
- CHANGELOG.md
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.build.json
- tsconfig.json
- VISION.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
ledger
View Details ▼
ledger
A powerful, double-entry accounting system.
ledger balance --file {{path/to/ledger.journal}}
Print a balance report showing totals:
ledger register {{expenses}} {{[-S|--sort]}} {{amount}}
List all postings in Expenses ordered by amount:
ledger balance {{Expenses}} and not ({{Drinks}} or {{Food}})
Print total Expenses other than Drinks and Food:
node
View Details ▼
node
Server-side JavaScript platform (Node.js).
node {{path/to/file}}
Run a JavaScript file:
node
Start a REPL (interactive shell):
node --watch {{path/to/file}}
Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):
module
View Details ▼
module
Modify a users' environment.
module avail
Display available modules:
module avail {{module_name}}
Search for a module by name:
module load {{module_name}}
Load a module:
signal
View Details ▼
signal
Simplified software signal facilities.
man signal
View documentation for signals in macOS:
query
View Details ▼
query
Display information about user sessions and process.
query session
Display all user sessions:
query session /server:{{hostname}}
Display the current user sessions on a remote computer:
query user
Display logged in users:
