assemblyai-local-dev-loop

Featured

Configure AssemblyAI local development with hot reload and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with AssemblyAI. Trigger with phrases like "assemblyai dev setup", "assemblyai local development", "assemblyai dev environment", "develop with assemblyai".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# AssemblyAI Local Dev Loop ## Overview Set up a fast, reproducible local development workflow for AssemblyAI transcription and LeMUR projects with mocking, caching, and hot reload. ## Prerequisites - Completed `assemblyai-install-auth` setup - Node.js 18+ with npm/pnpm - TypeScript project with `tsx` or `ts-node` ## Instructions ### Step 1: Project Structure ``` my-assemblyai-project/ ├── src/ │ ├── assemblyai/ │ │ ├── client.ts # Singleton client │ │ ├── transcribe.ts # Transcription helpers │ │ └── lemur.ts # LeMUR helpers │ └── index.ts ├── tests/ │ ├── transcribe.test.ts │ └── fixtures/ │ └── sample-transcript.json # Cached API response ├── .env.local # Local secrets (git-ignored) ├── .env.example # Template for team └── package.json ``` ### Step 2: Dev Scripts ```json { "scripts": { "dev": "tsx watch src/index.ts", "test": "vitest", "test:watch": "vitest --watch", "transcribe": "tsx src/assemblyai/transcribe.ts" }, "devDependencies": { "tsx": "^4.7.0", "vitest": "^1.6.0", "dotenv": "^16.4.0" }, "dependencies": { "assemblyai": "^4.8.0" } } ``` ### Step 3: Singleton Client with Env Loading ```typescript // src/assemblyai/client.ts import 'dotenv/config'; import { AssemblyAI } from 'assemblyai'; let instance: AssemblyAI | null = null; export function getClient(): AssemblyAI { if (!instance) { if (!process.env.ASSEMBLYAI_API_KEY) { throw new E...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category