Skip to content

IpyZ/netjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetJS

Network management tool written in JS
Report Bug · Request Feature

About The Project

NetJS Screenshot

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.

(back to top)

Getting Started

To get started you simply need to install NetJS gloablly via npm.

WARNING!
NetJS supports only Linux operating systems.

Prerequisites

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

Installation

Simply type:

sudo npm i -g netjs-cli

(back to top)

Usage

Simply type in your terminal:

netjs

and move with your arrows. Select option, select additional parameters and the magic is done.

(back to top)

Roadmap

  • 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

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the Apache2.0 License. See LICENSE.txt for more information.

(back to top)

Contact

Filip Śliwa - @ipyz on Discord

Project Link: https://github.com/IpyZ/netjs

(back to top)

Acknowledgments

(back to top)

About

Network management tool written in JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published