Simple service to communicate between services to my public personal bookmarks.
- Hono
- Drizzle
- Turso
- Cloudflare Workers
The idea is that I can consume them on my web page.
pnpm install
Make sure you already have the required environment files: wrangler.toml
and .env
# you can just copy the examples.
cp .env.example .env
cp wrangler.example.toml wrangler.toml
TURSO_DATABASE_URL
: Your Turso database URL.TURSO_AUTH_TOKEN
: Your Turso auth token.- (optional)
ACCESS_TOKEN
: Your preferred access token to prevent others from having access. Leave it blank, or you don't need to set it if you want everyone to be able to access it.
.env
it's just for migrating and generating schema from the database.
pnpm run dev
You can access it via http://localhost:8000.
Deploy it via Cloudflare Workers.
pnpm run deploy
MIT