hearback-server
v0.1.6
Published
Server middleware for hearback — Express/Next.js/Hono feedback endpoints (chat, submit, subscribe, upload)
Maintainers
Readme
hearback-server
Server middleware for hearback — feedback endpoints (/chat, /submit, /subscribe, /upload) for Express, Next.js, Hono, or any Node server.
import { feedbackHandler } from 'hearback-server'
app.use('/feedback', feedbackHandler({
repo: 'your-org/your-app',
githubToken: process.env.GITHUB_TOKEN,
// Optional — enables AI chat mode instead of form-only
llm: { apiKey: process.env.OPENAI_API_KEY },
}))For the fastest path, use the CLI: npx hearback init auto-detects your framework and wires everything up.
See the main repo for full docs, API reference, and integration examples.
License
MIT
