Skip to content

cchiles/granola-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

granola-cli

A simple CLI for Granola meeting notes.

Install

Homebrew

brew install cchiles/tap/granola

Script

curl -fsSL https://raw.githubusercontent.com/cchiles/granola-cli/main/install.sh | bash

Installs to /usr/local/bin if writable, otherwise ~/.local/bin. Override with GRANOLA_INSTALL_DIR.

Setup

granola config

This will prompt you for your API key with instructions on where to find it.

You can also pass the key directly or use an environment variable:

granola config YOUR_API_KEY
export GRANOLA_API_KEY=YOUR_API_KEY

Usage

# List recent notes
granola list
granola list --limit 20 --from 2025-01-01
granola list --from 2025-03-01 --to 2025-03-15
granola list --json | jq '.notes[].title'

# Quick date ranges (auto-paginates all results)
granola list --date-range today
granola list --date-range yesterday
granola list --date-range this_week
granola list --date-range last_week
granola list --date-range this_month
granola list --date-range last_month

# Get a specific note
granola get not_1d3tmYTlCICgjy
granola get not_1d3tmYTlCICgjy --transcript
granola get not_1d3tmYTlCICgjy --json > note.json

# Get multiple notes at once
granola get id1 id2 id3

# Get full details for all notes in a date range
granola get --date-range today
granola get --date-range last_week --transcript

Run granola --help for all options.

Update

granola update

Uninstall

rm ~/.local/bin/granola
rm -rf ~/.config/granola-cli

About

Minimal CLI for Granola meeting notes using the Granola API

Topics

Resources

Stars

Watchers

Forks

Contributors