- Codewars Kata Scraper: A web scraping tool developed with Node.js and Puppeteer.
- Purpose: Automates the retrieval and organization of completed Codewars katas into a local folder, categorized by problem and language.
- Key Features:
- Efficient data retrieval and organization
- Asynchronous operations for improved performance
- Resilient API handling with exponential back-off
- Automated updates via GitHub Actions
- Efficient Data Retrieval:
- Scrapes and organizes Codewars katas by problem and language.
- Asynchronous Operations:
- Reduces processing time by approximately 60% through effective caching.
- Resilient API Handling:
- Implements an exponential back-off strategy to manage API rate limits and prevent crashes.
- Automated Updates:
- Uses GitHub Actions to automate the scraping process and ensure regular updates.
- Clone the repository:
git clone https://github.com/ajay0993/kata-scraper.git
- Navigate to the project directory:
cd kata-scraper
- Install dependencies:
npm install
- Create a .env file in the root directory and add your environment variables:
CODEWARS_USERNAME=your_codewars_username
CODEWARS_EMAIL=your_codewars_email
CODEWARS_PASSWORD=your_codewars_password
REDIS_URL=your_redis_url
- Run the scraper:
node index.js
For questions or inquiries, please reach out to me at [email protected]