A fork of brianpetro's Smart Connections ecosystem, reverted to before the licensing change.
This is my attempt to give back a little to the community. I like OSS, and I really hate paywalls.
This fork removes all pro features and enables them for all. I'll start working on new features only once feature parity has been achieved with the original.
- Build the plugin:
cd obsidian-smart-connections && npm run build- Deploy to your vault:
./deploy.sh /path/to/your/vaultThe script will list all folders in your vault (prioritizing .obsidian and similar), let you pick one, and copy the plugin files into <selected>/plugins/smart-connections/.
- Restart Obsidian and enable the plugin in Settings → Community Plugins. 3.1 If you're using this to contribute code, I recommend the Hot Reload plugin by pjeby. It makes testing your code a LOT easier.
The original Smart Connections project changed its license a little while ago and started gating previously free features behind a paywall. This fork:
- Reverts to the last fully open version
- (Plans to) merge all "supporter-only" features into the free codebase
This project is a collection of modular packages that work together:
jsbrains/ # Core libraries (still open source upstream)
-> smart-chat-model/ # Chat API adapters (OpenAI, Anthropic, etc.)
-> smart-embed-model/ # Embedding model adapters
obsidian-smart-connections/ # Main plugin (this fork)
obsidian-smart-env/ # Shared Obsidian environment (also open source upstream)
smart-chat-obsidian/ # Standalone chat plugin
smart-context-obsidian/ # Context/clipboard tools
The Obsidian plugins (obsidian-smart-connections, etc.) are the actual plugins you install. They use the jsbrains modules under the hood for stuff.
Each plugin builds with esbuild. Output goes to dist/:
# Main plugin
cd obsidian-smart-connections && npm run buildbut to be honest, ./deploy.sh {vault_path} handles that already, so you can just run that instead and not worry about building this way for the most part
If you want to help on this:
- Clone the repo (with submodules if applicable)
- Run
npm installin the plugin folder you're working on - Make your changes
- Build and deploy to a test vault with `./deploy.sh {vault_path}
- Check the Obsidian developer console for errors
PRs welcome. The main goals are:
- Remove any remaining pro/premium checks
- Keep it working
- EVENTUALLY start adding new code and new features
This fork maintains the original open source license from before the licensing change.