Simplify GitHub repository analysis with our Lines of Code Calculator. Quickly input the owner and repository name to obtain total lines of code, providing valuable insights for developers and project managers. Effortlessly streamline codebase assessments for enhanced efficiency.
You can check out a live demo here.
Make sure you have the following software installed on your machine:
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
-
Clone the Repository:
git clone https://github.com/HamidByte/GitHub-Repository-Lines-of-Code-Calculator.git
-
Navigate to the Project Directory:
cd GitHub-Repository-Lines-of-Code-Calculator
-
Configure Environment Variables:
Create a .env file in the root of the project and set the following variables:
VITE_BASE_URL=http://127.0.0.1:5173 VITE_GITHUB_ACCESS_TOKEN=your-github-access-token
-
Install Dependencies:
npm install
-
Run the Application:
-
Compile and Hot-Reload for Development:
npm run dev
-
Compile and Minify for Production:
npm run build
-
Lint with ESLint:
npm run lint