1
Prerequisites
Make sure you have the required tools installed:
# Node.js 18 or higher
node --version
npm --version
# Git for version control
git --version
2
Fork and Clone the Repository
Start by forking the LocalClip repository on GitHub, then clone
your fork locally:
git clone https://github.com/YOUR-USERNAME/LocalClip.git
cd LocalClip
git remote add upstream
https://github.com/ahadalichowdhury/LocalClip-app.git
3
Install Dependencies
Install all project dependencies using npm:
npm install
4
Start Development Server
Run the development server to start working on LocalClip:
# Start development mode
npm run dev
# Run tests
npm test
# Run linting
npm run lint
5
Project Structure
Familiarize yourself with the project structure:
LocalClip/
โโโ src/
โ โโโ main/ # Electron main process
โ โโโ renderer/ # React frontend
โ โโโ preload/ # Preload scripts
โ โโโ shared/ # Shared types and utilities
โโโ assets/ # Icons and resources
โโโ docs/ # Documentation
โโโ tests/ # Test files
โโโ scripts/ # Build and utility scripts
6
Make Your Changes
Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
# Make your changes
git add .
git commit -m "Add your descriptive commit message"
git push origin feature/your-feature-name
7
Submit a Pull Request
Once your changes are ready, submit a pull request:
- Go to your fork on GitHub
- Click "New Pull Request"
- Provide a clear title and description
- Reference any related issues
- Wait for review and feedback