Choose your preferred setup method:
-
Clone the repository:
git clone https://github.com/fr4iser90/PIDEA.git && cd PIDEA
-
Start with Docker Compose:
docker-compose up --build
-
Access PIDEA:
- Frontend: http://localhost
- Backend API: http://localhost:3000
- Test Credentials:
test@test.com/test123
-
Clone the repository:
git clone https://github.com/fr4iser90/PIDEA.git && cd PIDEA
-
Install all dependencies (backend & frontend):
npm install
-
Start the interactive dev setup menu:
npm run setup # or directly: ./setup.jsThe menu allows you to:
- Reset the database
- Create test or custom users
- Start backend/frontend
- Check system status and more
-
Alternatively, start both backend & frontend together:
npm run dev
PIDEA integrates with Cursor IDE for enhanced development experience. Follow these steps to set up the integration:
Download Cursor IDE from the official website:
- Visit: https://cursor.sh/
- Download the appropriate version for your operating system
Option A: Manual Commands
Linux (AppImage):
# Navigate to your download directory
cd ~/Downloads # or wherever you downloaded the AppImage
# Start Cursor with remote debugging
appimage-run ./Cursor-1.x.x-x86_64.AppImage \
--user-data-dir="$HOME/.cursor-profile-dev" \
--remote-debugging-port=9222Linux (Installed):
cursor \
--user-data-dir="$HOME/.cursor-profile-dev" \
--remote-debugging-port=9222Windows:
# Navigate to Cursor installation directory (usually)
cd "C:\Users\%USERNAME%\AppData\Local\Programs\cursor"
# Start Cursor with remote debugging
cursor.exe --user-data-dir="%USERPROFILE%\.cursor-profile-dev" --remote-debugging-port=9222macOS:
/Applications/Cursor.app/Contents/MacOS/Cursor \
--user-data-dir="$HOME/.cursor-profile-dev" \
--remote-debugging-port=9222Option B: IDE Starter Scripts (Recommended)
We provide convenient starter scripts that manage multiple IDE instances with automatic port allocation:
Linux/macOS:
# Interactive menu
./start_ide_example.sh menu
# Direct commands
./start_ide_example.sh cursor # Start Cursor with free port
./start_ide_example.sh cursor 3 # Start Cursor on slot 3 (port 9224)
./start_ide_example.sh cursor auto # Auto-find free slotWindows PowerShell:
# Interactive menu
.\start_ide_example.ps1 menu
# Direct commands
.\start_ide_example.ps1 cursor # Start Cursor with free port
.\start_ide_example.ps1 vscode 3 # Start VSCode on slot 3 (port 9235)
.\start_ide_example.ps1 cursor auto # Auto-find free slotWindows Batch:
# Interactive menu
start_ide_example.bat menu
# Direct commands
start_ide_example.bat cursor # Start Cursor with free port
start_ide_example.bat vscode 3 # Start VSCode on slot 3
start_ide_example.bat cursor auto # Auto-find free slotPort Ranges:
- Cursor: Ports 9222-9232 (11 slots)
- VSCode: Ports 9233-9242 (10 slots)
Each slot gets its own directory and port, allowing you to run multiple IDE instances simultaneously without conflicts.
Linux/macOS:
code --no-sandbox --remote-debugging-port=9232Windows:
code.exe --no-sandbox --remote-debugging-port=9232Once Cursor is running with remote debugging enabled, PIDEA can connect to it and provide IDE mirroring functionality.
Parameters explained:
--user-data-dir: Creates a separate profile directory for development, keeping your main Cursor profile clean--remote-debugging-port=9222: Enables remote debugging on port 9222, which PIDEA uses to connect to your IDE
Personal IDE Agent - An innovative web-based platform designed to enhance developer productivity through integrated tools and AI-driven assistance. It provides a seamless environment for coding, collaboration, and project management, with features like real-time chat, IDE mirroring, and content preview. The platform is built to support developers in creating, analyzing, and refactoring projects efficiently.
- Real-Time Chat System: Interact with AI assistants for coding support directly within the platform, designed primarily for single users with a focus on local IDE integration which is critical for functionality.
- IDE Integration: Mirror and interact with your Cursor IDE for a unified coding experience.
- Preview Functionality: View code output or project content in real-time alongside your workspace.
- Multi-View Interface: Switch between chat, code, IDE mirror, and preview modes to suit your workflow.
PIDEA is being adapted for mobile devices to ensure accessibility and usability on the go. Planned updates include:
- Responsive design for optimal viewing on smaller screens.
- Touch-friendly navigation with a bottom bar or hamburger menu.
- Simplified layouts prioritizing key features like chat and preview.
An AI assistant is under development to provide advanced project management capabilities:
- Project Analysis: Automatically analyze codebases for structure, dependencies, and potential issues.
- Code Refactoring: Suggest and implement refactoring strategies to improve code quality.
- Task Automation: Generate tasks, development plans, and documentation based on project needs and user input.
Future updates will include Git integration for mobile and desktop users:
- Commit, push, pull, and manage branches directly from the PIDEA interface.
- Execute Git commands securely via backend scripts.
An emulated terminal is planned for running commands specific to the project:
- Commands will be restricted to the work path to ensure security.
- Global command execution will be prohibited to prevent unintended system changes.
Future versions will expand IDE integration beyond Cursor to include:
- VS Code: Full integration with Visual Studio Code for seamless development workflows.
- Windsurf: Support for the Windsurf IDE to provide additional development environment options.
- Universal IDE Interface: A standardized approach to IDE communication that can be extended to support other popular development environments.
- frontend/: Contains React-based UI components and pages for chat, preview, and IDE integration.
- backend/: Manages chat sessions, message handling, and IDE communication.
- framework/: Includes templates and prompts for project scaffolding and AI interactions.
- scripts/: Automation tools for DOM analysis, task management, and more.
- docs/: Detailed documentation on features, setup, and development.
I welcome contributions to PIDEA! Please follow these steps:
- Fork the repository.
- Create a feature branch:
git checkout -b feature/your-feature-name - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/your-feature-name - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project useful, please consider supporting its development:
Your support helps cover development costs and keeps the project actively maintained.
My personal objective with PIDEA is to create a unifying platform for all my projects. The goal is to standardize frameworks, maintain consistent documentation, and ensure a uniform structure across different endeavors. I'm happy to share this tool with the community, hoping it saves time and brings efficiency to others as well.
For questions or feedback, reach me out via email : pa.boe90@gmail.com
