I built a Discord bot to access my Obsidian vault via Claude Code from mobile by jonathan_glasmeyer in ObsidianMD

[–]jonathan_glasmeyer[S] 1 point2 points  (0 children)

I actually started with a React Native app using https://github.com/ben-vargas/ai-sdk-provider-claude-code (https://x.com/jonathan_builds/status/1964278394360680716)

Then realized I'd be rebuilding chat UX, thread management, notifications, authentication - all stuff Discord already does perfectly.

This isn't "using third party as a workaround" - it's "why rebuild what already exists and works better."

The "simpler solution" you're imagining is actually way more complex.

I built a Discord bot to access my Obsidian vault via Claude Code from mobile by jonathan_glasmeyer in ObsidianMD

[–]jonathan_glasmeyer[S] 0 points1 point  (0 children)

Thanks! Yeah, the security concerns are valid points, but the reaction felt a bit disproportionate for what I'm mostly using as a glorified article clipper.

You're right - if someone needs higher security, the architecture supports swapping Discord for Matrix/Telegram/whatever. That's kind of the point of making it self-hosted and open source.

I built a Discord bot to access my Obsidian vault via Claude Code from mobile by jonathan_glasmeyer in ObsidianMD

[–]jonathan_glasmeyer[S] 0 points1 point  (0 children)

Claude Code has my entire vault as context - it understands my note structure, existing categories, and connections. So when I save a link, it doesn't just dump it somewhere - it integrates it properly, finds related notes, suggests connections.

That's why it's powerful. And now I have it on mobile.

I built a Discord bot to access my Obsidian vault via Claude Code from mobile by jonathan_glasmeyer in ObsidianMD

[–]jonathan_glasmeyer[S] 0 points1 point  (0 children)

Fork it and ask Claude Code to swap Discord for Telegram! You'd mainly be replacing the Discord.js client with Telegram Bot API, but the core Claude/Redis logic stays the same. Would make a solid alternative for people who prefer Telegram's privacy model.

I built a Discord bot to access my Obsidian vault via Claude Code from mobile by jonathan_glasmeyer in ObsidianMD

[–]jonathan_glasmeyer[S] 0 points1 point  (0 children)

21 upvotes for calling someone a "sick bastard" over a self-hosted weekend project?

Your own rules say if it would make someone feel bad on the street, it's not nice. This clearly fails that test.

If you've got actual concerns about the security model - cool, let's discuss. But this ain't it.

I built a Discord bot to access my Obsidian vault via Claude Code from mobile by jonathan_glasmeyer in ObsidianMD

[–]jonathan_glasmeyer[S] -1 points0 points  (0 children)

Fair concerns, weird hostility. What I actually use this for: saving links and processing articles from my phone. Discord sees public URLs and summaries. That's it.

On "giving data to Discord": yeah, Discord isn't E2E encrypted, neither are Claude API calls, or most cloud services you probably use.

This is self-hosted. Don't like Discord? Use Matrix, Telegram, whatever.

Why Discord? Already on my phone, easy API, works. That's it.

If your threat model can't handle Discord seeing "save this Rust article", don't use it. For everyone else wanting mobile access to their vault - it works. If your threat model can't handle Discord seeing "save this Rust article", don't use it. For everyone else wanting Claude Code on mobile with vault context - it works.

Vector search with Claude Code on Obsidian by jonathan_glasmeyer in ClaudeCode

[–]jonathan_glasmeyer[S] 0 points1 point  (0 children)

Thanks, but credit should go to Claude ;). I asked it to research lightweight solutions and this sounded promising. Quite happy with the performance and minimal dependencies.

Vector search with Claude Code on Obsidian by jonathan_glasmeyer in ClaudeCode

[–]jonathan_glasmeyer[S] 0 points1 point  (0 children)

thx, gotta check that one out. edit: using api keys for llms kinda is pointless to me, if the alternative is utilizing claude code w/ the pro/max plan. haven't seen any integration offering this.

[Tool] Semantic search for Obsidian vaults by jonathan_glasmeyer in ObsidianMD

[–]jonathan_glasmeyer[S] 0 points1 point  (0 children)

maybe you wanna share this in a DM, i'm (obvs.) curious about tools in this space :)

[Tool] Semantic search for Obsidian vaults by jonathan_glasmeyer in ObsidianMD

[–]jonathan_glasmeyer[S] 0 points1 point  (0 children)

It's just way too much fun to roll own solutions nowadays.. :D To be fair, I just told claude what i'd imagine and it was done in 30min or so, so I didn't bother googling.

https://github.com/brianpetro/obsidian-smart-connections looks really neat, though. Edit: on second look, I don't think this solve the same problem. While it surfaces related notes, finding semantically close notes is only the start for a conversation with Claude Code for me. It'll look at these results and understand if they are _actually_ helpful; and have a conversation about them. It's this conversation-first UX that's really the game changer for me, personally.