Enhance your coding experience with Claude AI by integrating ClaudeSync and LLMCoder.
The LLMCoderServer web interface displays all files in your project, excluding those ignored by .gitignore
and .claudesync
. You can select which files to sync, with or without line numbers. Click the Sync All
button to synchronize your selected files to the target Claude project, utilizing ClaudeSync.
- Customize your sync process by modifying the
SyncCommand
file to work with your preferred sync tools, not limited toLLMCoderSync
andClaudeSync
. - Easily select current working files for synchronization, optimizing Claude token usage for longer conversations.
- Line number options designed for LLMCoder, enabling efficient code updates using specific Markdown diff output.
- Streamlined workflow: Sync LLM output back to your source code with a single paste action, saving output tokens by focusing on diff parts only.
-
Install required packages:
pip install flask pyinstaller
-
Build the executables:
pyinstaller LLMCoderSync.spec pyinstaller LLMCoderServer.spec
-
From your project directory, run:
/path/to/LLMCoderSync/dist/LLMCoderServer/LLMCoderServer
-
Open http://localhost:5000 to access the web interface.
-
Select the files you want to sync. If you're not using LLMCoder, uncheck all line numbers.
-
Run the following command to copy your
current
directory tocurrent.sync
, including all synced files with specified line-numbered files:/path/to/LLMCoderSync/dist/LLMCoderSync
-
Use
claudesync project select
to choose thecurrent.sync
directory as your project directory. -
Click the
Sync All
button in the web interface to executeSyncCommand
and verify that synchronization is working correctly.
Integration with LLMCoder
The key point of LLMCoder is using Markdown diff format for less token usage. It apply the diff to the source code to get the modified result code. You can see the README.md of LLMCoder for more detail.
-
Copy
SyncCommand
orSyncCommand.cmd
(for Windows) into your project directory. -
Create a
.claudeignore
file with the following content:.* LICENSE SyncCommand*
-
In the web interface, uncheck any files that should not be synced or have line numbers added, then click
Sync All
. -
Set Claude's Project custom instructions with the content from instructions/markdown.instruction.en.md after your specific instructions.
-
When asking Claude to modify code, it will follow the instructions and output a Markdown diff.
-
On the LLMCoder online page, paste your source code, then paste the Markdown diff. It will automatically apply the changes to the source and copy to your clipboard.
-
Paste the updated code back into your IDE to overwrite the source.
-
Click the
Sync All
button on the web interface after each code modification to ensure the latest code with line numbers is ready for the next prompt.
-
Integrate LLMCoder into LLMCoderSync WebUI
Select a code file, paste Markdown, and write the result directly into the source, saving more time.
-
Apply multiple file changes at once
Enhance LLM to include file names in Markdown diffs for simultaneous modifications across multiple files.
-
Automatic line number error correction
Implement intelligent detection and correction of incorrect first/last line numbers in LLM output.
-
Auto Sync
Detect file changes and sync automatically.
-
Browser extension
Integrate with the Claude.ai website for a more streamlined workflow between IDE and LLMCoderSync.