-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Upload recall results to GitHub Gist for shareable URL #57
Copy link
Copy link
Open
Description
When running rlm recall, add an option to automatically upload the results to a GitHub Gist and return a shareable URL that renders nicely.
Use Case
After recalling memories/facts, you often want to share the results with others or reference them externally. A GitHub Gist provides:
- A permanent, shareable URL
- Markdown rendering out of the box
- Version history
- No auth needed to view (public gists)
Proposed Implementation
- Add
--gistflag torlm recall - After recall completes, format results as clean Markdown
- Use
gh gist create(or GitHub API directly) to upload - Return the gist URL to the user
- Optional:
--gist-privatefor secret gists (still accessible via URL but not listed) - Include metadata header in the gist: query, timestamp, number of results, confidence scores
Example
rlm recall "What does Mark think about AI agents?" --gist
# Output:
# Found 12 relevant memories (avg confidence: 0.87)
# Gist created: https://gist.github.com/marknutter/abc123Dependencies
ghCLI (already available in our environment)- Or use GitHub API directly with existing auth token
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels