Skip to content

AirgPlays/Rules.JSON-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Rules.JSON Generator

License: Creator Commons
Python

Rules.JSON Generator is a simple and powerful tool that converts GitHub raw hosts files into a structured rules.json file. Perfect for organizing large lists of domains into a JSON format for various applications.


OS Support

Operating System Status
Windows ✅ Fully tested
Linux ⚠️ Untested
macOS ⚠️ Untested

Windows Release

For Windows users, you can download and use the pre-built .exe release for convenience:
Download Release


Features

  • ✅ Reads a GitHub raw hosts file directly.
  • ✅ Skips localhost entries and comments automatically.
  • ✅ Customizable starting ID (default = 1).
  • ✅ Customizable priority (default = 1).
  • ✅ Saves the generated rules.json to any location of your choice.
  • ✅ User-friendly GUI interface.

Installation

  1. Make sure you have Python 3.x installed:
    Download Python

  2. Install required packages (if any, Tkinter comes pre-installed with most Python distributions).

  3. Download or clone this repository:

git clone https://github.com/yourusername/rules-json-generator.git
cd Rules.JSON-Generator
python Rules.JSON-Generator.py

About

A simple tool that converts GitHub raw hosts files into a structured rules.json file.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages