getinput-page
v0.2.0
Published
Edit any text on a Next.js page in the browser. Auto-installs a floating widget and an /api/input route.
Maintainers
Readme
getinput-page
Floating widget for Next.js (App Router) that lets anyone edit text directly on a live page. Edits save to input.json, then Claude Code applies them to source via /input apply.
Install
In your Next.js project:
npx getinput-pageThis will:
- Copy
InputWidget.tsxintocomponents/ - Add an
app/api/inputroute - Create
input.jsonand add it to.gitignore - Inject
<InputWidget />into your root layout
Run npm run dev and you'll see Edit/Comment buttons in the bottom-right corner on localhost.
Usage
| Action | How |
| --- | --- |
| Edit text | Click Edit, then click any heading/paragraph/button — type to change it |
| Leave a comment | Click Comment, then click any element — type your note |
| Apply edits to source | In Claude Code: /input apply |
| View all feedback | In Claude Code: /input check |
Share for review
Click the count badge, then Share. You'll get a link with ?getinput that anyone can open to leave feedback without touching your source. They click Copy feedback when done and paste the JSON back to you.
Not Next.js?
Use the framework-agnostic version:
<script src="https://getinput.io/widget.js"></script>License
MIT
