Network management tool written in JS
Report Bug
·
Request Feature
How to set up your network interfaces in linux? With commands like ip or ifconfig. Unfortuantely many begginers to linux do not feel comfortable with raw text output and raw commands. NetJS makes setting up network interfaces easier and faster.
To get started you simply need to install NetJS gloablly via npm.
WARNING!
NetJS supports only Linux operating systems.
First, you have to install some dependecies:
- iproute2
- dhclient or dhcpcd
- sudo
However all of these packages should be preinstalled on any Linux distro.
And ofcourse you need Node.JS also: https://nodejs.org
Simply type:
sudo npm i -g netjs-cli
Simply type in your terminal:
netjs
and move with your arrows. Select option, select additional parameters and the magic is done.
- Listing interfaces
- Adding/removing ip addresses
- Flushing ip addresses
- Inheriting addresses from DHCP
- Changing state of interface
- Editing default gateway
- Editing DNS addresses
- Saving configuration without any network manager installed (make own manager)
- Exporting configuration to netplan and /etc/network.d
- Editing routes
- And more in the future
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- 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
Distributed under the Apache2.0 License. See LICENSE.txt
for more information.
Filip Śliwa - @ipyz on Discord
Project Link: https://github.com/IpyZ/netjs