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
↓ 17 callers
Method
toast
Push a new toast with the default lifetime. Use the typed `kind` to drive the icon + color; the renderer maps semantics to colors consistently.
crates/outl-tui/src/actions/toast.rs:31
↓ 16 callers
Method
as_str
Returns the underlying string slice.
crates/outl-core/src/fractional.rs:149
↓ 16 callers
Function
created_nodes_on_disk
Read every actor present in `<workspace>/ops/` and return the full set of `(actor, node)` pairs materialized from the `Op::Create` ops on disk. Going
crates/outl-sync-iroh/tests/common/mod.rs:85
↓ 16 callers
Function
edit_text
Replace the block's text with `new_text` verbatim. `new_text` is the **raw** wire text, prefix and all. Callers that surface TODO/DONE state separate
crates/outl-actions/src/block/edit.rs:28
↓ 16 callers
Function
flattenVisible
(blocks: BlockNode[])
crates/outl-frontend-shared/src/outline/index.ts:76
↓ 16 callers
Method
load_current
Reparse the current page from disk + (re)trigger auto-run. Most navigation paths call this. The auto-run pass is what makes `auto-run::` blocks "feel
crates/outl-tui/src/actions/lifecycle/loading.rs:70
↓ 16 callers
Function
move_op
Convenience: `Move` with sentinel `old_*` (the algorithm overwrites these on `do_op`).
crates/outl-core/tests/common/mod.rs:89
↓ 16 callers
Method
move_selection
(&mut self, delta: i32)
crates/outl-tui/src/actions/nav.rs:186
↓ 16 callers
Method
next
(&mut self)
crates/outl-actions/src/outline.rs:342
↓ 16 callers
Function
open_or_create_by_ref
Open (or create) whatever page a user-typed **ref target** points at — `[[avelino/outl]]`, `[[2026-06-04]]`, `[[São Paulo]]`, `[[Q4 plan]]`, a `#tag`
crates/outl-actions/src/resolve.rs:67
↓ 16 callers
Method
snapshot_for_undo
Push the current page state onto the undo stack. Clears the redo stack — that's vim semantics: a new edit branches history.
crates/outl-tui/src/actions/history.rs:14
↓ 15 callers
Method
actor
Actor id of this generator.
crates/outl-core/src/hlc.rs:92
↓ 15 callers
Method
append
Append an op at the tail. Callers (`Tree::apply_op` in particular) are responsible for ensuring that `op.ts > self.last().ts`; the log does not re-so
crates/outl-core/src/log.rs:41
↓ 15 callers
Function
applyView
(view: PageView)
crates/outl-desktop/src/components/OutlineView.tsx:105
↓ 15 callers
Function
canonical
(raw: string | null | undefined)
crates/outl-frontend-shared/src/highlight/aliases.ts:57
↓ 15 callers
Function
fuzzy_score
Score-only convenience.
crates/outl-tui/src/fuzzy.rs:100
↓ 15 callers
Method
has
(&self, cap: Capability)
crates/outl-plugins/src/host.rs:48
↓ 15 callers
Method
info
(msg: string)
plugin-sdk/src/index.ts:269
↓ 15 callers
Function
looksLikeOutline
(text: string)
crates/outl-frontend-shared/src/paste/index.ts:37
↓ 15 callers
Method
name
(&self)
crates/outl-tui/src/commands/builtins/exec.rs:19
↓ 15 callers
Function
new_workspace
()
crates/outl-actions/src/block/moves.rs:268
↓ 15 callers
Function
pageId
()
crates/outl-mobile/src/components/Journal.tsx:665
↓ 15 callers
Method
parse
Parse a human chord string like `"Ctrl+Shift+A"` or `"Ctrl+T S"` (space-separated chords) into a sequence. Used to turn a plugin's `contributes.keybin
crates/outl-shortcuts/src/chord.rs:150
↓ 15 callers
Function
ws
()
crates/outl-actions/src/paste/mod.rs:281
↓ 14 callers
Function
autoPairBracket
( value: string, selection: number, typed: string, )
crates/outl-frontend-shared/src/autocomplete/index.ts:98
↓ 14 callers
Function
buildHandlers
(deps: DesktopHandlerDeps)
crates/outl-desktop/src/lib/action-handlers.ts:70
↓ 14 callers
Function
closeSuggest
()
crates/outl-desktop/src/components/BlockRow.tsx:192
↓ 14 callers
Function
create_under
Append a new block as the last child of `parent`. Synonym for [`append_block`] when the parent is explicit.
crates/outl-actions/src/block/create.rs:203
↓ 14 callers
Function
handlePopupNav
(e: NavKey, nav: PopupNav<T>)
crates/outl-desktop/src/lib/popup-nav.ts:46
↓ 14 callers
Function
journal_link_offset
`[[YYYY-MM-DD]]` for today + `days_offset`. Negative offsets are past, positive are future.
crates/outl-tui/src/commands/builtins/dates.rs:37
↓ 14 callers
Method
load_plugin
Load and activate a plugin from an already-read manifest + bundle. `approved` is the permission set the user approved (from the lockfile); `config` i
crates/outl-plugins/src/host.rs:195
↓ 14 callers
Function
ok
(out: std::process::Output)
crates/outl-cli/tests/cli_machine.rs:18
↓ 14 callers
Function
openJournalFor
(slug: string)
crates/outl-frontend-shared/src/api/commands.ts:122
↓ 14 callers
Function
page_md_path
Build the on-disk path for a given page's `.md` projection.
crates/outl-actions/src/journal.rs:53
↓ 14 callers
Method
popup_style
Base style for elevated surfaces (popups, toasts): `popup_bg` background plus the theme's base text color. Every overlay paints this before its conten
crates/outl-tui/src/theme.rs:209
↓ 14 callers
Function
setNativeSuggesterState
( state: SuggesterMessage | null, )
crates/outl-mobile/src/lib/native-suggester.ts:99
↓ 14 callers
Function
siblings_mut
Borrow the sibling list of a path (i.e. the parent's children).
crates/outl-md/src/outline_ops.rs:175
↓ 14 callers
Method
warn
(msg: string)
plugin-sdk/src/index.ts:270
↓ 14 callers
Function
with_ws
Acquire a read-only handle to the workspace. Returns the `workspace_loading` sentinel string while the background opener is still running or the user
crates/outl-tauri-shared/src/helpers.rs:36
↓ 14 callers
Function
write_atomic
Write `contents` to `path` atomically. Steps: 1. Compute a sibling temp path: `path` with `.tmp` appended to the filename (so `pages/foo.md` becomes
crates/outl-md/src/atomic.rs:29
↓ 13 callers
Method
all
Every command in the registry, in registration order. The slash menu calls this to populate its list.
crates/outl-tui/src/commands/mod.rs:110
↓ 13 callers
Function
backlinks_for_page
Convenience: backlinks against either the page's slug or its title. When the page is a person (`page_type == Some("person")`), we also scan for the *
crates/outl-actions/src/backlinks.rs:171
↓ 13 callers
Method
by_slug
Look up a page by its slug.
crates/outl-md/src/index.rs:178
↓ 13 callers
Method
call
(&mut self, payload: Value)
crates/outl-cli/tests/mcp_smoke.rs:54
↓ 13 callers
Method
current_path
(&self)
crates/outl-tui/src/actions/nav.rs:20
↓ 13 callers
Method
enter_insert
Enter Insert mode at the currently focused block. Dispatches by `Focus`: outline blocks edit `App.page`; backlink blocks load the source page from di
crates/outl-tui/src/actions/block/insert.rs:35
↓ 13 callers
Function
flat_count
Count of all nodes in the (possibly nested) outline.
crates/outl-md/src/outline_ops.rs:19
↓ 13 callers
Function
init
Initialize the clock from the user's configured timezone. `tz` is the raw `[calendar] timezone` value from `config.toml` — an IANA name (`"Europe/Lon
crates/outl-actions/src/clock.rs:48
↓ 13 callers
Method
is_empty
(self)
crates/outl-shortcuts/src/chord.rs:31
↓ 13 callers
Method
log
Read-only access to the in-memory op log.
crates/outl-core/src/workspace.rs:477
↓ 13 callers
Function
normalize_external_syntax
External markdown syntax → outl syntax. Pure string-level transforms applied to clipboard text before it reaches `outl_md::parse::parse`. Reads no wo
crates/outl-actions/src/paste/normalize.rs:14
↓ 13 callers
Function
parseJournalSlug
( slug: string | null | undefined, )
crates/outl-frontend-shared/src/journal/index.ts:30
↓ 13 callers
Function
parse_id
Parse a `NodeId` from its string ULID form.
crates/outl-cli/src/cmd/block.rs:520
↓ 13 callers
Function
plugins_dir
The `.outl/plugins` directory under a workspace root.
crates/outl-plugins/src/loader.rs:38
↓ 13 callers
Method
record
Record the pre-mutation state. Clears the redo stack — vim semantics: a new edit branches history.
crates/outl-actions/src/history.rs:66
↓ 13 callers
Function
roundtrip
(md: &str)
crates/outl-md/src/render.rs:88
↓ 13 callers
Method
run_command
Run a plugin command, applying whatever intents it emits.
crates/outl-plugins/src/host.rs:378
↓ 13 callers
Function
slugify
Convert a user-visible page name into a filesystem-safe slug.
crates/outl-md/src/slug.rs:22
↓ 13 callers
Method
spawn
Spawn the plugin thread and return a handle to it. The thread loads every installed plugin from `<root>/.outl/plugins/` on the first request after th
crates/outl-tauri-shared/src/plugin_service.rs:151
↓ 13 callers
Method
storage_root
(&self)
crates/outl-mobile/src-tauri/src/state.rs:87
↓ 13 callers
Function
utf16OffsetToCharOffset
( text: string, utf16Offset: number, )
crates/outl-frontend-shared/src/paste/index.ts:86
↓ 13 callers
Function
with_ws_mut
Acquire a mutable handle to the workspace.
crates/outl-tauri-shared/src/helpers.rs:49
↓ 13 callers
Function
ws
()
crates/outl-actions/src/backlinks.rs:279
↓ 12 callers
Method
commit_insert
Commit Insert: write buffer back into the AST and persist. Routes by `EditTarget`: - `CurrentPage`: mutate `app.page`, snapshot undo, `save()`. - `So
crates/outl-tui/src/actions/block/insert.rs:127
↓ 12 callers
Function
insert_or_warn
Insert `text` at the cursor if we're in Insert mode; otherwise surface a status message — date commands only make sense while the user is typing.
crates/outl-tui/src/commands/builtins/dates.rs:27
↓ 12 callers
Method
load_plugins
Build the plugin host and load every installed plugin. Best-effort end to end: on any unexpected error this leaves `plugin_host = None` and returns —
crates/outl-tui/src/actions/plugins.rs:234
↓ 12 callers
Function
make_op
(g: &HlcGenerator, op: Op)
crates/outl-core/src/workspace.rs:526
↓ 12 callers
Function
set_property
Set (or clear, with `value = None`) a property on `node`. One-liner over `Op::SetProp` exposed so every client can write properties without reaching
crates/outl-actions/src/page.rs:345
↓ 12 callers
Function
split_todo
Split a block's raw text into `(state, body)`. The body never includes the prefix or its trailing space.
crates/outl-actions/src/todo.rs:45
↓ 11 callers
Function
build_page_view
( workspace: &Workspace, storage_root: &Path, page_id: NodeId, )
crates/outl-tauri-shared/src/helpers.rs:68
↓ 11 callers
Function
choosePasteRoute
(html: string, plain: string)
crates/outl-frontend-shared/src/paste/index.ts:135
↓ 11 callers
Method
create
Create a page (idempotent on slug).
plugin-sdk/src/index.ts:197
↓ 11 callers
Function
default_theme
Default fallback when nothing is configured.
crates/outl-tui/src/theme.rs:252
↓ 11 callers
Function
definePlugin
(def: PluginDefinition)
plugin-sdk/src/index.ts:404
↓ 11 callers
Function
detectFence
(text: string)
crates/outl-frontend-shared/src/highlight/fence.ts:22
↓ 11 callers
Function
detectSlashContext
( value: string, selection: number, )
crates/outl-frontend-shared/src/autocomplete/index.ts:522
↓ 11 callers
Function
finish_in_page
Apply a workspace mutation `f` and project the result back to `.md` + sidecar. The op log is the source of truth: the `.md` and the sidecar are proje
crates/outl-tauri-shared/src/helpers.rs:103
↓ 11 callers
Function
fresh_app
()
crates/outl-tui/src/actions/text_ops.rs:248
↓ 11 callers
Function
hasMultipleParagraphs
(text: string)
crates/outl-frontend-shared/src/paste/index.ts:61
↓ 11 callers
Method
iter_nodes
Iterate every (node, parent, position) triple. Useful for tests.
crates/outl-core/src/tree/mod.rs:126
↓ 11 callers
Function
node_at_path
Borrow the node at a path. `None` if any segment is out of range.
crates/outl-md/src/outline_ops.rs:109
↓ 11 callers
Function
opt_str
(args: &'a Value, key: &str)
crates/outl-cli/src/cmd/batch.rs:226
↓ 11 callers
Function
pair
(a: char, b: char)
crates/outl-shortcuts/src/defaults.rs:51
↓ 11 callers
Method
resolve
Look up a block by its short ref handle (`blk-XXXXXX`). O(1). Returns `None` for unknown handles, including orphaned ones (block deleted but a `.md`
crates/outl-md/src/block_index.rs:106
↓ 11 callers
Function
seed_single_block
(app: &mut App, text: &str)
crates/outl-tui/src/actions/text_ops.rs:264
↓ 11 callers
Function
set
(prop: string, value: string)
crates/outl-desktop/src/lib/palette.ts:33
↓ 11 callers
Function
spawn_plugin_service
Spawn the shared plugin thread with the desktop's client id, capability set, and swap-capable storage root. Called once in `lib.rs::setup`; the return
crates/outl-desktop/src-tauri/src/plugin_service.rs:71
↓ 11 callers
Function
today
Today's date in the user's configured timezone (falling back to the OS local timezone). Delegates to [`crate::clock`] so the journal's "today" honours
crates/outl-actions/src/page.rs:407
↓ 11 callers
Method
write
Persist this id to `<root>/.outl/workspace-id`, creating the `.outl/` directory if needed. Used both on first generation and by pairing adoption (the
crates/outl-core/src/workspace_id.rs:112
↓ 11 callers
Function
ws
()
crates/outl-actions/src/person.rs:117
↓ 11 callers
Function
ws
()
crates/outl-actions/src/clipboard.rs:123
↓ 10 callers
Method
as_slice
The approved permissions.
crates/outl-plugins/src/permission.rs:152
↓ 10 callers
Method
as_string
Render as `String`.
crates/outl-tui/src/edit_buffer.rs:34
↓ 10 callers
Function
buildShowMessage
( items: PageMeta[], opts: { mention?: boolean } = {}, )
crates/outl-mobile/src/lib/native-suggester.ts:53
↓ 10 callers
Function
cycle_todo_inline
Cycle the TODO prefix directly on an [`EditBuffer`], preserving the cursor's *visual* position relative to the user's text. - none → `TODO `: prefix
crates/outl-tui/src/actions/block/mod.rs:43
↓ 10 callers
Function
first_pos
()
crates/outl-core/tests/tree_unit.rs:27
↓ 10 callers
Function
key
Build a fake keydown with the fields the handler reads plus spied * preventDefault / stopPropagation.
crates/outl-desktop/src/lib/popup-nav.test.ts:7
↓ 10 callers
Function
month
()
crates/outl-desktop/src/components/Sidebar.tsx:239
↓ 10 callers
Function
nav
A nav over 3 string items with spied callbacks, starting at `index`. * Return type is inferred so the `vi.fn()` mock types stay intact for * `toHa
crates/outl-desktop/src/lib/popup-nav.test.ts:28
↓ 10 callers
Function
parse_link
Strip the `[[ ... ]]` wrap and parse the inner ISO date.
crates/outl-tui/src/commands/builtins/dates.rs:415
← previous
next →
101–200 of 3,488, ranked by callers