You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/1chooo/leetcode-crawler

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/1chooo/leetcode-crawler

v0.1.0
Source
Go
Version published
Created
Source

LeetCode Problems Crawler

A Go CLI (Command Line Interface) tool to crawl LeetCode problems and generate code files in various programming languages with different naming schemes.

📖 Usage

pattern:

leetcode-crawler crawl --problem <problem_id> --lang <language> --path <output_path> --naming <naming_scheme>

Example 1:

to crawl problem 1 in Go language with snake_case naming scheme

leetcode-crawler crawl --problem 1 --lang go --path ./problems/ --naming snake_case

Example 2:

To crawl problem 2 in Python3 language with camelCase naming scheme

leetcode-crawler crawl --problem 2 --lang python3 --path ./problems/ --naming camelCase

Example 3:

To crawl problem 3 in Java language with PascalCase naming scheme

leetcode-crawler crawl --problem 3 --lang java --path ./problems/ --naming pascalCase

Example 4:

To crawl problem 4 in C++ language with snake_case naming scheme

leetcode-crawler crawl --problem 4 --lang cpp --path ./problems/ --naming snake_case

Example 5:

To crawl problem 5 in Rust language with kebab-case naming scheme

leetcode-crawler crawl --problem 5 --lang rust --path ./problems/ --naming kebab-case

📱 Contact

Chun-Ho (Hugo) Lin

📩 E-mail: hugo970217@gmail.com
🧳 Linkedin: in/1chooo
👨🏻‍💻 GitHub: @1chooo

🪪 License

Released under MIT by @1chooo

This software can be modified and reused without restriction. The original license must be included with any copies of this software. If a significant portion of the source code is used, please provide a link back to this repository.

Made with 💙 by @1chooo

🙏🏻 Special Thanks

FAQs

Package last updated on 02 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts