Skip to content

All the weird custom stuff I'm doing to setup my opencode + other dev stuff locally on my mac

Notifications You must be signed in to change notification settings

davis7dotsh/my-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-setup

OpenCode configuration and token tracking dashboard.

Components

  • opencode/: OpenCode config (commands, themes, plugins)
  • dashboard/: SvelteKit app for viewing token usage stats (PostgreSQL backend)
  • setup/: Setup script for symlinking config and configuring the token tracker

Setup

cd setup && bun run setup

This will:

  1. Symlink opencode/ to ~/.config/opencode (prompts before overwriting)
  2. Ask for API URL and key for the token tracker

Dashboard

Requires DATABASE_URL and API_KEY env vars.

cd dashboard && bun install && bun run db:push && bun run dev

About

All the weird custom stuff I'm doing to setup my opencode + other dev stuff locally on my mac

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published