Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/UI_issues.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: 🎨 UI Issue
name: UI Issue
description: "Use this template if something looks weird or you would like some styles changed."
title: "UI issue"
labels: ["styles"]
Expand Down
11 changes: 2 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: 🐛 Bug Report
name: Bug Report
description: "Create a bug report for obsidian smart second brain to help us improve"
title: "Bug report"
labels: ["bug"]
assignees: ["leo310", "nicobrauchtgit"]
body:
Expand All @@ -21,14 +22,6 @@ body:
label: Error Statement
description: Enable Settings > Advanced > Developer Console logging. Open Developer Tools (⌘ Cmd + ⌥ Opt + I / Ctrl + Shift + I). Open Console Tab.
placeholder: Obsidian Developer Console
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: List the steps to reproduce the behavior.
placeholder: "1. Go to '...'\n2. Click on '...'\n3. Scroll down to '...'\n4. See error"
validations:
required: true
- type: input
id: version
attributes:
Expand Down
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: 🌟 Feature Request
description: What would you like to see added to smart second brain? 🐙
name: Feature Request
description: What would you like to see added to smart second brain?
title: Feature Request
labels:
- enhancement
assignees:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ workspace.json
*.njsproj
*.sln
*.sw?
.envrc
.direnv/*
Binary file added .opencode/opencode.db
Binary file not shown.
Binary file added .opencode/opencode.db-shm
Binary file not shown.
Binary file added .opencode/opencode.db-wal
Binary file not shown.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,17 @@ Follow the onboarding instructions provided on initial plugin startup in Obsidia

# ⚙️ Under the hood

Check out our [Architecture Wiki](https://github.com/your-papa/obsidian-Smart2Brain/wiki) page and our backend repo [papa-ts](https://github.com/your-papa/papa-ts).
Check out our [Architecture Wiki](https://github.com/your-papa/obsidian-Smart2Brain/wiki) page.

# 🎯 Roadmap

- Support Gemini and Claude models and OpenAI likes (Openrouter...)
- Support Gemini and Claude models and integrate KoboldCpp
- Similar note connections view
- Chat Threads
- Hybrid Vector Search (e.g. for Time-based retrieval)
- Inline AI Assistant
- Hybrid Vector Search
- Predictive Note Placement
- Agent with Obsidian tooling
- Multimodality
- Benchmarking

# 🧑‍💻 About us

Expand Down
33 changes: 23 additions & 10 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
{
"$schema": "https://biomejs.dev/schemas/1.2.2/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 4,
"lineWidth": 120
},
"javascript": {
"formatter": {
"semicolons": "always",
"trailingCommas": "all"
}
}
}
866 changes: 866 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
description = "A Nix-flake-based Bun development environment";

inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1"; # unstable Nixpkgs

outputs =
{ self, ... }@inputs:

let
supportedSystems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forEachSupportedSystem =
f:
inputs.nixpkgs.lib.genAttrs supportedSystems (
system:
f {
pkgs = import inputs.nixpkgs { inherit system; };
}
);
in
{
devShells = forEachSupportedSystem (
{ pkgs }:
{
default = pkgs.mkShellNoCC {
packages = with pkgs; [ bun ];
};
}
);
};
}
16 changes: 8 additions & 8 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "smart-second-brain",
"name": "Smart Second Brain",
"description": "Interact with your privacy focused assistant, leveraging Ollama or OpenAI, making your second brain even smarter.",
"author": "Leo310, nicobrauchtgit",
"authorUrl": "https://github.com/nicobrauchtgit",
"version": "1.3.0",
"minAppVersion": "1.5.0",
"isDesktopOnly": true
"id": "smart-second-brain",
"name": "Smart Second Brain",
"description": "Interact with your privacy focused assistant, leveraging Ollama or OpenAI, making your second brain even smarter.",
"author": "Leo310, nicobrauchtgit",
"authorUrl": "https://github.com/nicobrauchtgit",
"version": "1.3.0",
"minAppVersion": "1.5.0",
"isDesktopOnly": true
}
79 changes: 40 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
{
"name": "smart-second-brain",
"version": "1.1.0",
"main": "main.js",
"devDependencies": {
"@biomejs/biome": "1.2.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-typescript": "^11.1.6",
"@sveltejs/vite-plugin-svelte": "^2.4.6",
"@tsconfig/svelte": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"autoprefixer": "^10.4.16",
"builtin-modules": "^3.3.0",
"bun-types": "latest",
"eslint": "^8.56.0",
"obsidian": "^1.4.11",
"postcss": "^8.4.30",
"svelte": "^4.2.1",
"svelte-check": "^3.5.2",
"tailwindcss": "^3.3.3",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"private": true,
"scripts": {
"dev": "vite build --mode development --watch",
"build": "vite build --mode production",
"check": "svelte-check --tsconfig ./tsconfig.json",
"format": "biome format --write ./src",
"lint": "biome lint --apply-unsafe ./src"
},
"type": "module",
"dependencies": {
"i18next": "^23.8.2",
"monkey-around": "^2.3.0",
"nanoid": "^5.0.4",
"svelte-i18n": "^4.0.0"
}
"name": "smart-second-brain",
"version": "0.1.0",
"main": "main.js",
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@langchain/langgraph-checkpoint": "^1.0.0",
"@langchain/mcp-adapters": "^1.0.2",
"@langchain/tavily": "^1.0.1",
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tsconfig/svelte": "^5.0.5",
"autoprefixer": "^10.4.21",
"obsidian": "^1.10.0",
"postcss": "^8.5.6",
"svelte": "^5.41.0",
"svelte-check": "^4.3.3",
"tailwindcss": "^3.4.18",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^7.0.0"
},
"private": true,
"scripts": {
"dev": "vite build --mode development --watch",
"build": "vite build --mode production",
"check": "svelte-check --tsconfig ./tsconfig.json",
"format": "biome format --write ./src",
"lint": "biome lint --apply-unsafe ./src"
},
"type": "module",
"dependencies": {
"@selemondev/svgl-svelte": "^0.0.3",
"@tanstack/svelte-query": "^6.0.10",
"bits-ui": "^2.11.8",
"builtin-modules": "^5.0.0",
"dexie": "^4.2.1",
"i18next": "^23.16.8",
"svelte-i18n": "^4.0.1",
"uuid": "^11.1.0",
"zod": "^4.2.1"
}
}
Loading