jetbrains-hacker
v1.0.3
Published
JetBrains code fetcher CLI tool
Readme
JetBrains License CLI Tool
A command-line tool for fetching JetBrains license codes from the daily updated license repository.
Features
- 🚀 Real-time fetching: Automatically retrieves the license for today's date
- 📅 Custom date support: Specify any date to get historical licenses
- 🔍 Clean output: Returns only the license code without extra formatting
- ⚡ Fast and lightweight: Built with Node.js for optimal performance
Installation
Using npm
npm install -g jetbrains-hackerUsing pnpm
pnpm install -g jetbrains-hackerPrerequisites
- Node.js 16.x or higher
- You may need modify your
/etc/hostswith the following:
# ref: https://gist.github.com/ctracerpp/c137781fa407817f153195b5c18211c9?permalink_comment_id=5256857#gistcomment-5256857
#127.0.0.1 resources.jetbrains.com
#127.0.0.1 www.jetbrains.com
127.0.0.1 http://www.jetbrains.com
127.0.0.1 https://account.jetbrains.com:443
127.0.0.1 www-weighted.jetbrains.com
127.0.0.1 www-weighted.jetbrains.com
127.0.0.1 account.jetbrains.com
127.0.0.1 jrebel.npegeek.com
127.0.0.1 oauth.account.jetbrains.com
127.0.0.1 entry.prod-eu.w3jbcom.aws.intellij.netUsage
Get Today's License
jb codeGet License for Specific Date
jb code --date 2025-07-08Command Options
jb code [options]
Options:
-d, --date <date> specify date in YYYY-MM-DD format
-h, --help display help for commandExamples
# Get current date license
jb code
# Get license for July 8, 2025
jb code --date 2025-07-08
# Get license for yesterday
jb code --date 2025-07-07Output Format
The tool returns the complete JetBrains license activation code in the format:
LICENSE_KEY-ENCODED_LICENSE_DATA-SIGNATUREError Handling
- Invalid date format: Returns error message for dates not in YYYY-MM-DD format
- Network errors: Handles connection issues gracefully
- Missing license: Reports when no license is available for the specified date
Development
Project Structure
jetbrains-hacker/
├── bin/
│ └── jb.js # Main CLI executable
├── package.json # Project configuration
└── README.md # This fileRunning in Development
# Run directly with Node.js
node bin/jb.js code
# Or after linking
jb codeTechnical Details
- Language: JavaScript (ES Modules)
- Runtime: Node.js
- Dependencies:
commander: CLI argument parsingnode-fetch: HTTP requests
- License source:
https://gitee.com/superbeyone/J2_B5_A5_C4/raw/master/licenses/2025/
Contributing
Development Setup
git clone <repository-url>
cd jetbrains-hacker
npm install
npm linkContributing Guidelines
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
License
ISC License
Disclaimer
This tool is for educational and research purposes only. Users are responsible for compliance with JetBrains' licensing terms and applicable laws.
Note: This tool fetches license information from a third-party repository. Availability and accuracy of license data depends on the external source.
