Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/avelino/outl
/ functions
Functions
3,488 in github.com/avelino/outl
⨍
Functions
3,488
◇
Types & classes
420
↓ 7 callers
Function
tokenize_owned
Tokenize `text` directly into the owned, serializable form. This is the call backend DTOs use when they need to ship tokens to a frontend — single sou
crates/outl-md/src/inline.rs:276
↓ 7 callers
Method
transform_block
Run a plugin's content transformer for `lang` against `input`, returning the descriptor (`{kind, content}`) it produced, or `None` when it declined /
crates/outl-plugins/src/host.rs:349
↓ 7 callers
Function
visualRangeSet
( anchor: string | null, cursor: string | null, blocks: BlockNode[], )
crates/outl-frontend-shared/src/outline/index.ts:214
↓ 7 callers
Function
withCreateNewPersonCandidate
( list: T[], query: string, )
crates/outl-frontend-shared/src/autocomplete/index.ts:446
↓ 7 callers
Function
write_dev_plugin
(root: &Path)
crates/outl-mobile/src-tauri/src/plugin_service.rs:121
↓ 7 callers
Function
write_enclosing_page
Rewrite the enclosing page's `.md` + sidecar after a mutation.
crates/outl-cli/src/cmd/block.rs:530
↓ 6 callers
Method
accept
(&self, conn: Connection)
crates/outl-sync-iroh/src/engine_sync.rs:470
↓ 6 callers
Function
app_with
(root: &TempDir)
crates/outl-tui/src/input/plugin_chord.rs:274
↓ 6 callers
Method
as_str
The raw domain string (`api.openai.com`, `*.openai.com`).
crates/outl-plugins/src/permission.rs:70
↓ 6 callers
Function
block
(id: string, text: string)
crates/outl-desktop/src/lib/action-handlers.test.ts:61
↓ 6 callers
Function
by_name
Look up a preset by name. Case-insensitive; dashes and underscores are interchangeable so `"Solarized Dark"` and `"solarized_dark"` both work.
crates/outl-tui/src/theme.rs:229
↓ 6 callers
Method
commands
Every command contributed by a loaded plugin whose `slash-command` capability is granted on this client.
crates/outl-plugins/src/host.rs:240
↓ 6 callers
Function
delta_sync
Bidirectional delta sync (initiator side). One bi stream, four framed messages: 1. send our [`SyncRequest`] (vector clock A). 2. read the peer's [`Sy
crates/outl-sync-iroh/src/engine_sync.rs:366
↓ 6 callers
Function
diff_to_ops
Build a [`DiffPlan`] from the new AST and the matching result. `page_id` is the root NodeId of the page (preserved across edits). `new_md_hash` is th
crates/outl-md/src/diff.rs:45
↓ 6 callers
Function
extract_leading_h1
If `body` opens (after optional blank lines) with a single H1 line (`# Heading`), return `(Some(title), rest_of_body)` with the H1 line stripped. Othe
crates/outl-md/src/frontmatter.rs:186
↓ 6 callers
Function
findBlock
(blocks: BlockNode[], id: string)
crates/outl-frontend-shared/src/outline/index.ts:33
↓ 6 callers
Function
get
Handle `prompts/get`.
crates/outl-cli/src/mcp/prompts.rs:36
↓ 6 callers
Function
highlight_inline
Render with markdown markers visible (dimmed) and inner text styled. Used when the block is selected in Normal mode (so the visible cursor columns mat
crates/outl-tui/src/view/inline.rs:300
↓ 6 callers
Function
idx
Empty index for tests that don't care about page icons.
crates/outl-tui/src/app.rs:38
↓ 6 callers
Method
insert_char
Insert one character at the cursor.
crates/outl-tui/src/edit_buffer.rs:49
↓ 6 callers
Method
invalidate_backlinks_cache
Drop the cached backlinks list. Call this on every workspace mutation that can change the answer — saves, peer-ops reloads, view switches. Cheap (just
crates/outl-tui/src/actions/nav.rs:160
↓ 6 callers
Method
iroh_endpoint_addr_with_ifaces
[`iroh_endpoint_addr`](Self::iroh_endpoint_addr) with the local IPv4 interface list injected, so the LAN-reachability filter is unit-testable without
crates/outl-sync-iroh/src/peers.rs:229
↓ 6 callers
Function
isBlockQuoted
(text: string)
crates/outl-frontend-shared/src/markdown/QuoteWrap.tsx:75
↓ 6 callers
Function
merge_membership
Merge a gossiped peer list into the local store, persisting `peers.json`. Conservative by design (see the module-level trust model): drops self, drop
crates/outl-sync-iroh/src/engine_membership.rs:121
↓ 6 callers
Function
mount
( tokens: InlineToken[], variant?: "inline", onLinkClick?: (href: string) => void, )
crates/outl-frontend-shared/src/markdown/MarkdownInline.test.tsx:7
↓ 6 callers
Function
move_after
Move `node` so it becomes the sibling immediately **after `target`, re-parenting it under `target`'s parent. This is the workspace-level primitive be
crates/outl-actions/src/block/moves.rs:165
↓ 6 callers
Method
mutate_current_text
Apply a closure to the current block's `(text_chars, cursor)`. Snapshots for undo, writes the result back, syncs the App's `cursor_col`, persists. Ret
crates/outl-tui/src/actions/text_ops.rs:212
↓ 6 callers
Function
new_workspace
()
crates/outl-actions/src/block/edit.rs:107
↓ 6 callers
Method
onOp
* Register a callback fired for every op applied to the log — local edits and * ops arriving from sync alike. Filter on `op.actor` to skip your own
plugin-sdk/src/index.ts:153
↓ 6 callers
Function
op_at
(physical: u64, logical: u32, actor: ActorId)
crates/outl-core/src/log.rs:87
↓ 6 callers
Function
open_or_create_by_name
Open (or create) a page identified by a user-typed **name** — the kind of string that arrives from a `[[ref]]`, a `#tag`, or a page-picker text field.
crates/outl-actions/src/resolve.rs:36
↓ 6 callers
Function
pages
All pages whose subtree contains `#tag`.
crates/outl-cli/src/cmd/tag.rs:96
↓ 6 callers
Function
previousVisibleId
( current: string | null, blocks: BlockNode[], )
crates/outl-frontend-shared/src/outline/index.ts:152
↓ 6 callers
Function
project_outline
Walk the workspace tree starting from `parent` and return the outline below it. `NodeId::root()` is the usual starting point.
crates/outl-actions/src/outline.rs:204
↓ 6 callers
Function
pull
()
examples/echo-sync/index.js:33
↓ 6 callers
Method
record_success
Record a successful dial to `peer`, stamping the round-trip duration.
crates/outl-sync-iroh/src/health.rs:45
↓ 6 callers
Method
refresh_page_list
Walk `pages/` and capture every `.md` (skipping dotfiles) into `page_list`. Used by the quick-switcher and the recent-LRU merger.
crates/outl-tui/src/actions/lifecycle/loading.rs:24
↓ 6 callers
Method
refresh_slash
Recompute the slash overlay's candidate list against the current query (fuzzy match on `name`). Query empty → registry order (no sort; `visual_order`
crates/outl-tui/src/actions/overlay.rs:423
↓ 6 callers
Function
render_pretty_block_text
Render a block's body the way the outline renders it in read-only mode: strip and visualize a `TODO`/`DONE` prefix, then pass the remainder through [`
crates/outl-tui/src/view/inline.rs:84
↓ 6 callers
Function
resolve_write_actor
Resolve which actor this process should write under. Tries `config_actor` first — that's the "device default" stored in `config.toml`, and the common
crates/outl-core/src/lock.rs:246
↓ 6 callers
Function
runOn
Common pattern: await a Tauri command that returns a * `PageView`, apply it, and leave selection on `nextSelectedId` * (or keep current when `
crates/outl-desktop/src/lib/action-handlers.ts:128
↓ 6 callers
Method
save_snapshot
Persist a snapshot of the materialized state under the current actor, stamped with the latest applied HLC as its cutoff. Synchronous — used by client
crates/outl-core/src/workspace.rs:436
↓ 6 callers
Function
set_prop
(node: NodeId, key: &str, value: Option<PropValue>, old: Option<PropValue>)
crates/outl-core/tests/properties_of.rs:15
↓ 6 callers
Function
shortcode_to_unicode
Resolve a GitHub-style shortcode (without the surrounding `:`s) to the unicode glyph it stands for. Returns `None` for unknown shortcodes — the inlin
crates/outl-md/src/emoji.rs:29
↓ 6 callers
Method
start
( &self, workspace_root: std::path::PathBuf, actor: outl_core::id::ActorId, tx
crates/outl-actions/src/sync.rs:124
↓ 6 callers
Function
stripQuoteFromTokens
(tokens: InlineToken[])
crates/outl-frontend-shared/src/markdown/quote.ts:60
↓ 6 callers
Function
t
()
crates/outl-tui/src/app.rs:33
↓ 6 callers
Function
theme_from_palette
Build a `Theme` from a shared `Palette` plus the static name. Modifiers (`BOLD` on `bold`, `UNDERLINED` on links, `ITALIC` on `italic`, `CROSSED_OUT`
crates/outl-tui/src/theme.rs:41
↓ 6 callers
Function
toggle_quote
Toggle the block's blockquote marker: adds or removes the CommonMark `"> "` prefix on the block's text. See [`crate::quote`] for the wire-format detai
crates/outl-actions/src/block/edit.rs:79
↓ 6 callers
Function
toggle_todo
Cycle the block's TODO state.
crates/outl-cli/src/cmd/block.rs:482
↓ 6 callers
Method
visual_range
Return the (lo, hi) flat indices of the Visual selection, inclusive on both sides. `None` if not in Visual mode.
crates/outl-tui/src/actions/visual.rs:55
↓ 6 callers
Function
ws
()
crates/outl-actions/src/page.rs:488
↓ 5 callers
Method
actor
Parse the actor id from the config string into a typed [`ActorId`].
crates/outl-cli/src/workspace_layout.rs:50
↓ 5 callers
Function
append
Append a block to a journal (today by default).
crates/outl-cli/src/cmd/daily.rs:126
↓ 5 callers
Function
append_forest
Append every entry in `specs` as a contiguous block of new last children under `parent`, preserving order. Convenience for `outl_page_create`-with-con
crates/outl-actions/src/block/create.rs:93
↓ 5 callers
Method
begin_turn
Set the per-turn read model + config, clearing last turn's output.
crates/outl-plugins/src/engine.rs:77
↓ 5 callers
Method
build
Walk `pages/` and `journals/` under `workspace_root`, parse every `.md`, and return the populated index. Files that fail to parse are skipped with no
crates/outl-md/src/index.rs:73
↓ 5 callers
Function
cache_path_for_source
Path where a compiled artefact for `(language, source)` should land. The filename is `<sha256-of-source>.wasm`; collisions are vanishingly unlikely an
crates/outl-exec/src/wasm/cache.rs:45
↓ 5 callers
Function
cargo_run
(args: &[&str])
crates/outl-cli/tests/e2e_full.rs:7
↓ 5 callers
Function
chord_from_key
Translate a crossterm key into the portable [`Chord`] form. Returns `None` for keys outl-shortcuts has no variant for (so they simply never match a p
crates/outl-tui/src/input/chord_adapter.rs:24
↓ 5 callers
Method
collect_page_blocks
Pass 1 of the two-pass build: register every block of a page (id, handle, text, subtree) without touching reverse refs.
crates/outl-md/src/block_index.rs:232
↓ 5 callers
Function
countDescendants
(block: BlockNode)
crates/outl-frontend-shared/src/outline/index.ts:62
↓ 5 callers
Function
create_with_position
( workspace: &mut Workspace, hlc: &HlcGenerator, parent: NodeId, position: Fractional, tex
crates/outl-actions/src/block/create.rs:213
↓ 5 callers
Function
d
(y: i32, m: u32, day: u32)
crates/outl-actions/src/dates.rs:295
↓ 5 callers
Function
encode_ops_blob
Serialize a batch of `LogOp`s into a length-prefixed JSONL blob. Layout: `[4-byte big-endian length][JSONL body]`, where the body is newline-separate
crates/outl-sync-iroh/src/protocol.rs:155
↓ 5 callers
Function
errorMessage
(e: unknown)
crates/outl-desktop/src/components/SyncPanel.tsx:59
↓ 5 callers
Function
filtered
()
crates/outl-mobile/src/components/PluginSheet.tsx:92
↓ 5 callers
Method
first
Returns the canonical "first" position.
crates/outl-core/src/fractional.rs:61
↓ 5 callers
Function
flattenAll
(blocks: BlockNode[])
crates/outl-frontend-shared/src/outline/index.ts:99
↓ 5 callers
Function
formatSequence
(seq: Chord[])
crates/outl-desktop/src/lib/chord-format.ts:79
↓ 5 callers
Function
host_with_plugin
(caps: &[Capability], perms: &[Permission])
crates/outl-plugins/src/host_tests.rs:30
↓ 5 callers
Method
into_peer_entry
Convert a received payload into a persistable [`PeerEntry`], stamping the local wall-clock time as `added_at`. Validates the sender's full `endpoint_
crates/outl-sync-iroh/src/pairing.rs:147
↓ 5 callers
Function
journalSlugToDate
(slug: string | null | undefined)
crates/outl-frontend-shared/src/journal/index.ts:60
↓ 5 callers
Function
leading_indent
(line: &str)
crates/outl-md/src/parse.rs:394
↓ 5 callers
Function
list_all
List every page in the workspace, sorted by slug.
crates/outl-actions/src/page.rs:128
↓ 5 callers
Method
list_commands
List plugin-contributed commands. Returns an empty vec if the plugin thread is gone or nothing is loaded yet.
crates/outl-tauri-shared/src/plugin_service.rs:170
↓ 5 callers
Function
load_from
Load from a specific path. Exposed mainly for tests; production code should always use [`load`].
crates/outl-config/src/lib.rs:79
↓ 5 callers
Function
log_len
(app: &App)
crates/outl-tui/src/input/plugin_chord.rs:288
↓ 5 callers
Function
logop
(g: &HlcGenerator, op: Op)
crates/outl-core/tests/concurrent_text_convergence.rs:17
↓ 5 callers
Method
mark_synced
Mark the host as caught up with the current log — call after loading so pre-existing ops don't fire hooks on startup.
crates/outl-plugins/src/host.rs:373
↓ 5 callers
Function
mount
()
crates/outl-desktop/src/components/ErrorToast.test.tsx:17
↓ 5 callers
Function
move_to
( workspace: &mut Workspace, hlc: &HlcGenerator, node: NodeId, new_parent: NodeId, positio
crates/outl-actions/src/block/moves.rs:24
↓ 5 callers
Function
must_ok
(out: &std::process::Output, ctx: &str)
crates/outl-cli/tests/e2e_full.rs:15
↓ 5 callers
Function
openTodayJournal
()
crates/outl-frontend-shared/src/api/commands.ts:118
↓ 5 callers
Function
open_ws
Open the workspace, mapping the structured `ApiError` to `anyhow`.
crates/outl-cli/src/cmd/plugin.rs:297
↓ 5 callers
Function
pageView
()
crates/outl-desktop/src/lib/action-handlers.test.ts:73
↓ 5 callers
Function
peersOnline
( statuses: readonly PeerStatusDto[] | ReadonlyMap<string, PeerStatusDto>, )
crates/outl-frontend-shared/src/peers/status.ts:22
↓ 5 callers
Function
playPluginViews
(html: readonly string[] | undefined)
crates/outl-desktop/src/lib/plugin-views.ts:45
↓ 5 callers
Function
pluginRun
( pluginId: string, commandId: string, pageId: string | null, )
crates/outl-frontend-shared/src/api/commands.ts:552
↓ 5 callers
Function
push_wrapped
Push `guides + head + content` as one or more ratatui [`Line`]s, wrapping `content` at `text_width` display columns. `text_width` is the full drawabl
crates/outl-tui/src/view/wrap.rs:36
↓ 5 callers
Function
read_config
Read the workspace config.
crates/outl-cli/src/workspace_layout.rs:179
↓ 5 callers
Function
ready_addr
Wait (bounded) for the endpoint to discover its addresses, then snapshot a ready** [`EndpointAddr`] carrying relay + direct addrs. `endpoint.addr()`
crates/outl-sync-iroh/src/pairing.rs:243
↓ 5 callers
Function
real_node_id
A real node id (valid public key) so `iroh_endpoint_addr` parsing passes even without a relay url.
crates/outl-sync-iroh/src/engine_membership.rs:158
↓ 5 callers
Method
refresh_quick_switch
(&mut self)
crates/outl-tui/src/actions/overlay.rs:107
↓ 5 callers
Method
reload_workspace
Open a fresh `Workspace` from disk. The caller swaps it in place of whatever stale workspace they were holding. Reads every `ops-*.jsonl` in `<root>/
crates/outl-actions/src/sync.rs:259
↓ 5 callers
Function
resetPending
()
crates/outl-desktop/src/lib/shortcuts.ts:265
↓ 5 callers
Function
resolve
Resolve a slug to a page node id or return [`codes::PAGE_NOT_FOUND`].
crates/outl-cli/src/cmd/page.rs:222
↓ 5 callers
Function
result
()
crates/outl-desktop/src/components/BlockRow.tsx:1296
↓ 5 callers
Function
run_import
(json: &str)
crates/outl-cli/src/cmd/import/roam.rs:235
↓ 5 callers
Method
save
Write the lockfile to `path` (pretty-printed for diffability).
crates/outl-plugins/src/lockfile.rs:109
← previous
next →
301–400 of 3,488, ranked by callers