cannoli  by DeabLabs

No-code LLM scripting tool for Obsidian Canvas editor

Created 2 years ago
383 stars

Top 74.6% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a no-code environment for building and executing LLM-powered scripts within Obsidian, targeting users who want to automate tasks and create custom chatbots without writing traditional code. It enables users to visually define LLM logic, data flow, and actions using Obsidian Canvas.

How It Works

Cannoli scripts are constructed as Directed Acyclic Graphs (DAGs) within Obsidian Canvas, using nodes (cards) and edges (arrows) to represent variables, logic, and LLM interactions. This visual approach allows for intuitive script creation, abstracting away complex programming. The system interprets the Canvas structure according to a defined schema to execute LLM calls, process responses, and perform actions like HTTP requests.

Quick Start & Requirements

  • Install via Obsidian's community plugins.
  • Requires Obsidian.
  • Supports OpenAI, Groq, Anthropic, Gemini, and local LLMs via Ollama.
  • Ollama requires setting the OLLAMA_ORIGINS environment variable to *.
  • See walkthrough folder in plugin settings for samples.

Highlighted Details

  • Visual, no-code interface for LLM script creation using Obsidian Canvas.
  • Supports custom chatbots with streaming and customizable formatting.
  • Can trigger scripts via audio recordings (transcribed by Whisper).
  • Allows defining custom HTTP requests within scripts.

Maintenance & Community

  • Development instructions are available in DEVELOPMENT.md.

Licensing & Compatibility

  • License not specified in the README.

Limitations & Caveats

  • Full documentation website is forthcoming.
  • Changing models within a single script requires reloading, potentially increasing execution time.
Health Check
Last Commit

3 days ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
1
Star History
3 stars in the last 30 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
20 more.

dify by langgenius

0.5%
114k
Open-source LLM app development platform
Created 2 years ago
Updated 14 hours ago
Feedback? Help us improve.