A modern, interactive subnet calculator built with React and TypeScript that helps network administrators and IT professionals calculate and visualize IP subnets. Features a clean, responsive UI with dark/light mode support.
- 🌐 Calculate subnet details including:
- Subnet address
- Netmask
- Range of addresses
- Useable IP addresses
- Number of available hosts
- 🔄 Subnet manipulation:
- Divide subnets into smaller networks
- Join subnets back together
- 👁️ Customizable column visibility
- 🌓 Dark/Light mode with system preference detection
- 💾 Persistent theme settings
- 📱 Responsive design for all screen sizes
- React 18
- TypeScript
- Vite
- TailwindCSS
- Modern CSS features
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone /~https://github.com/Vic563/visual-subnet-calculator.git
- Navigate to the project directory:
cd visual-subnet-calculator
- Install dependencies:
npm install
# or
yarn install
- Start the development server:
npm run dev
# or
yarn dev
- Open your browser and visit
http://localhost:5173
- Enter the network address (e.g., 192.168.0.0) and subnet mask (e.g., /24)
- Click "Update" to calculate subnet information
- Use the "Divide" button to split a subnet into two equal subnets
- Use the "Join" button to combine previously divided subnets
- Toggle column visibility using the checkboxes
- Switch between dark and light modes using the theme toggle button
To create a production build:
npm run build
# or
yarn build
The built files will be in the dist
directory.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with React and TypeScript
- Styled with modern CSS features
- Inspired by the need for a modern, user-friendly subnet calculator