feat: simplify setup with auto-disconnect and folder rename support
- init-bootstrap now automatically disconnects from original repo - Added folder rename assistance for non-git users - Support both git clone and ZIP download methods - Import existing vault functionality documented - Clearer instructions for all user skill levels
This commit is contained in:
@@ -23,9 +23,14 @@ Then generate a customized CLAUDE.md file tailored to their needs.
|
|||||||
## Process
|
## Process
|
||||||
|
|
||||||
1. **Initial Environment Setup**
|
1. **Initial Environment Setup**
|
||||||
|
- Check current folder name and ask if they want to rename it
|
||||||
|
- If yes, guide them through renaming (handle parent directory move)
|
||||||
- Check for package.json and run `pnpm install` if needed
|
- Check for package.json and run `pnpm install` if needed
|
||||||
- Verify core dependencies are installed
|
- Verify core dependencies are installed
|
||||||
- Check git status and initialize if needed
|
- Check git status:
|
||||||
|
- If no .git folder: Initialize git repository
|
||||||
|
- If has remote origin: Remove it to disconnect from claudesidian
|
||||||
|
- If clean local repo: Ready to go
|
||||||
- Create base folder structure (00_Inbox through 06_Metadata)
|
- Create base folder structure (00_Inbox through 06_Metadata)
|
||||||
|
|
||||||
2. **Check Existing Configuration**
|
2. **Check Existing Configuration**
|
||||||
@@ -190,7 +195,7 @@ Setup completed with: ✅ Dependencies ✅ Folder structure ✅ Git initialized
|
|||||||
|
|
||||||
✅ Dependencies installed (pnpm install)
|
✅ Dependencies installed (pnpm install)
|
||||||
✅ Folder structure created
|
✅ Folder structure created
|
||||||
✅ Git repository initialized
|
✅ Git repository initialized and disconnected from original
|
||||||
✅ CLAUDE.md personalized
|
✅ CLAUDE.md personalized
|
||||||
[✅ MCP Gemini Vision configured - if set up]
|
[✅ MCP Gemini Vision configured - if set up]
|
||||||
[✅ First commit made - if git was initialized]
|
[✅ First commit made - if git was initialized]
|
||||||
@@ -202,14 +207,23 @@ Setup completed with: ✅ Dependencies ✅ Folder structure ✅ Git initialized
|
|||||||
User: claude run init-bootstrap
|
User: claude run init-bootstrap
|
||||||
Assistant: Welcome! I'll help you set up your personalized Obsidian + Claude configuration.
|
Assistant: Welcome! I'll help you set up your personalized Obsidian + Claude configuration.
|
||||||
|
|
||||||
First, let me set up your environment...
|
First, let me check your setup...
|
||||||
|
|
||||||
|
Current folder name: claudesidian
|
||||||
|
Would you like to rename this folder to something more personal? (e.g., my-vault, knowledge-base, obsidian-notes)
|
||||||
|
|
||||||
|
[If yes: Handles the rename by moving to parent directory and back]
|
||||||
|
|
||||||
|
Now setting up your environment...
|
||||||
[Runs pnpm install to install dependencies]
|
[Runs pnpm install to install dependencies]
|
||||||
|
[Removes git remote to disconnect from original]
|
||||||
[Creates folder structure if missing]
|
[Creates folder structure if missing]
|
||||||
[Checks git status]
|
[Checks git status]
|
||||||
|
|
||||||
|
✅ Folder renamed (if requested)
|
||||||
✅ Dependencies installed
|
✅ Dependencies installed
|
||||||
✅ Core folders created
|
✅ Core folders created
|
||||||
✅ Git repository ready
|
✅ Git repository ready (disconnected from original claudesidian)
|
||||||
|
|
||||||
Now let me ask you a few questions to customize your setup:
|
Now let me ask you a few questions to customize your setup:
|
||||||
|
|
||||||
|
|||||||
@@ -12,12 +12,20 @@ This is a pre-configured Obsidian vault structure designed to work seamlessly wi
|
|||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
### 1. Clone the Repository
|
### 1. Get the Starter Kit
|
||||||
|
|
||||||
|
**Option A: Clone with Git**
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/heyitsnoah/claudesidian.git
|
# Clone with your preferred folder name
|
||||||
cd claudesidian
|
git clone https://github.com/heyitsnoah/claudesidian.git my-vault
|
||||||
|
cd my-vault
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Option B: Download ZIP (no Git required)**
|
||||||
|
1. Click "Code" → "Download ZIP" on GitHub
|
||||||
|
2. Extract to your desired location
|
||||||
|
3. Open the folder in Claude Code
|
||||||
|
|
||||||
### 2. Run the Setup Wizard
|
### 2. Run the Setup Wizard
|
||||||
```bash
|
```bash
|
||||||
# Start Claude Code in the directory
|
# Start Claude Code in the directory
|
||||||
@@ -29,6 +37,8 @@ claude
|
|||||||
|
|
||||||
This will:
|
This will:
|
||||||
- Install dependencies automatically
|
- Install dependencies automatically
|
||||||
|
- Disconnect from the original claudesidian repository
|
||||||
|
- Import your existing Obsidian vault (if you have one)
|
||||||
- Ask you about your workflow preferences
|
- Ask you about your workflow preferences
|
||||||
- Create a personalized CLAUDE.md configuration
|
- Create a personalized CLAUDE.md configuration
|
||||||
- Set up your folder structure
|
- Set up your folder structure
|
||||||
|
|||||||
Reference in New Issue
Block a user