Skip to content

diaryx-org/plugin-daily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title Daily
description Daily entry plugin with date hierarchy, navigation, and CLI surface
id diaryx.daily
version 0.1.3
author Diaryx Team
license PolyForm Shield 1.0.0
repository https://github.com/diaryx-org/plugin-daily
categories
productivity
journaling
tags
daily
journal
calendar
capabilities
workspace_events
custom_commands
artifact
url sha256 size published_at
0
ui
slot id label
SidebarTab
daily-panel
Daily
slot id label
CommandPaletteItem
daily-open-today
Open Today's Entry
slot id label
CommandPaletteItem
daily-open-yesterday
Open Yesterday's Entry
cli
name about
daily
Daily entry commands
requested_permissions
defaults reasons
read_files edit_files create_files plugin_storage
include
all
include
all
include
all
include
all
read_files edit_files create_files plugin_storage
Read daily entries, index files, and optional templates from the workspace.
Update existing year, month, and daily entry files when navigating and organizing the daily hierarchy.
Create missing year, month, and daily entry files for new dates.
Persist daily plugin configuration for the current workspace.

diaryx_daily_extism

Extism WASM guest plugin that provides all daily-entry functionality for Diaryx.

Overview

This plugin owns daily behavior end-to-end:

  • ensure/create daily entries
  • date-adjacent navigation (prev/next)
  • daily entry state checks
  • plugin-declared CLI command (diaryx daily)
  • plugin-owned sidebar iframe UI (daily.panel)
  • one-time migration of legacy workspace keys (daily_entry_folder, daily_template)

No daily logic is required in vanilla diaryx_core or apps/web.

Exports

  • manifest
  • init
  • shutdown
  • handle_command
  • execute_typed_command
  • get_config
  • set_config
  • get_component_html
  • on_event

Build

cargo build -p diaryx_daily_extism --target wasm32-unknown-unknown --release

About

Daily entry plugin for Diaryx

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors