Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
Installing the Replyke CLI
The Replyke CLI copies fully customizable comment components directly into your project as editable source code. You can use it withnpx (no installation required) or install it globally.
Prerequisites
A Replyke project
Create a project in the Replyke Dashboard if you haven’t already.
Using npx (Recommended)
No installation required —npx always uses the latest version:
Global Installation (Optional)
npx:
The rest of this documentation uses
npx @replyke/cli to stay version-agnostic, but replyke works identically when installed globally.Initializing Your Project
Run the init command from your project root:Interactive Prompts
Platform Selection
Platform Selection
Question: “Which platform are you using?”Options: React (Web) · React Native · ExpoDetermines which component variants and dependencies are used.
Styling Preference
Styling Preference
Question: “Which styling approach do you prefer?”Options:
- Tailwind CSS — Uses utility classes (
bg-white dark:bg-gray-800) - Inline Styles — Uses style objects (
style={{ backgroundColor: '...' }})
Component Path
Component Path
Question: “Where should components be installed?”Default:
src/componentsThe directory where CLI components will be copied. You can use any path.What Happens During Init
- Detects your project type from
package.json - Creates
replyke.jsonin your project root - Checks for required peer dependencies and offers to install missing ones
The replyke.json File
After initialization, areplyke.json file is created in your project root:
Installing Dependencies
The CLI checks for required peer dependencies and prompts to install them if missing. React (Web):Troubleshooting
Error: Node version too old
Error: Node version too old
Error: No package.json found
Error: No package.json found
Run the command from your project root directory where
package.json is located.CLI hangs or doesn't respond
CLI hangs or doesn't respond
- Press
Ctrl+Cto cancel - Clear npx cache:
npx clear-npx-cache - Try again:
npx @replyke/cli init
Want to change configuration
Want to change configuration
Delete
replyke.json and run npx @replyke/cli init again, or manually edit the file and re-run add commands.Next Steps
Quick Start
Add your first component in under 5 minutes
Configuration Reference
Understand every option in replyke.json
Threaded Comments
Add Reddit-style threaded comments
Social Comments
Add Instagram-style social comments

