05-03-26

Auto-Type Standup Notes Template

This Lua script for Rebind hardware input automates the insertion of a standup notes template. It uses the clipboard and allows customization of the template and keybind, saving time each morning.

rebindlua scriptstanduptemplateauto-typeclipboardhardware input

Question

Auto-type standup notes template each morning

Rebind AI

Auto-Type Standup Notes Template

luau
-- rebind: min_sdk=0.1.0
-- rebind: name=Standup Notes

local cfg = UI.Schema({
    trigger = UI.Keybind("F9", { label = "Insert Template" }),
    name = UI.Text("", { label = "Your Name", placeholder = "e.g., John Doe", maxLength = 50 }),
    team = UI.Text("", { label = "Team", placeholder = "e.g., Backend", maxLength = 50 }),
})

local template = [[## Standup - ${date}

**Name:** ${name}
**Team:** ${team}

### Yesterday
- 

### Today
- 

### Blockers
- None

---]]

local function renderTemplate()
    local rendered = template
    rendered = rendered:gsub("${date}", os.date("%Y-%m-%d"))
    rendered = rendered:gsub("${name}", cfg.name)
    rendered = rendered:gsub("${team}", cfg.team)
    return rendered
end

Bind(cfg.trigger, Async(function()
    Clipboard.Set(renderTemplate())
    HID.Press("LCtrl+V")
    UI.Notify("Standup template inserted", "success")
end))

How it works

  • Press F9 (customizable) to insert a pre-formatted standup template
  • The template includes:
    • Today's date (auto-inserted)
    • Your name and team (from UI config)
    • Sections for Yesterday, Today, and Blockers
  • Uses clipboard paste for reliable multi-line insertion
  • The template is rendered with Lua string substitution (${...} placeholders)

Customize

Edit the template variable to change the format. Add more UI fields (name, team, project) and reference them in the template with ${fieldname}.

Learn more