kalwabed / mamarks

Mini service for interaction with my public personal bookmarks.

Home Page:https://www.kalwabed.com/bookmarks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mamarks

Simple service to communicate between services to my public personal bookmarks.

Tech

  • Hono
  • Drizzle
  • Turso
  • Cloudflare Workers

How it works

The idea is that I can consume them on my web page.

Usage

Install

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.

Run locally

pnpm run dev

You can access it via http://localhost:8000.

Deploy

Deploy it via Cloudflare Workers.

pnpm run deploy

Learn more.

License

MIT

About

Mini service for interaction with my public personal bookmarks.

https://www.kalwabed.com/bookmarks

License:MIT License


Languages

Language:TypeScript 100.0%