netjs-cli

1.0.3 • Public • Published

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

  • [x] Listing interfaces
  • [x] Adding/removing ip addresses
  • [x] Flushing ip addresses
  • [x] Inheriting addresses from DHCP
  • [x] Changing state of interface
  • [x] 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)

/netjs-cli/

    Package Sidebar

    Install

    npm i netjs-cli

    Weekly Downloads

    5

    Version

    1.0.3

    License

    Apache-2.0

    Unpacked Size

    52.9 kB

    Total Files

    15

    Last publish

    Collaborators

    • ipyz