https://github.com/jdevalk/obsid.net
https://github.com/jdevalk/obsid.net
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jdevalk/obsid.net
- Owner: jdevalk
- Created: 2026-02-24T14:01:46.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-02-24T16:00:55.000Z (4 months ago)
- Last Synced: 2026-02-24T19:46:36.249Z (4 months ago)
- Language: JavaScript
- Size: 268 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Obsidian Link Redirect Worker
Cloudflare Worker that redirects requests like:
`https://obsid.net/?vault=Obsidian&file=Sites%2FJoost.blog%2FPosts`
to:
`obsidian://open?vault=Obsidian&file=Sites%2FJoost.blog%2FPosts`
## Setup
1. Install dependencies:
`npm install`
2. Authenticate with Cloudflare:
`npx wrangler login`
3. Deploy:
`npm run deploy`
## Domain notes
- `wrangler.toml` is configured for custom domain `obsid.net`.
- Ensure the domain is added to your Cloudflare account.
- If you prefer `www.obsid.net` or a subdomain, change `routes` in `wrangler.toml`.
## Behavior
- Worker returns `400` if `vault` or `file` is missing.
- Redirect uses HTTP status `308`.