Socket
Socket
Sign inDemoInstall

netjs-cli

Package Overview
Dependencies
65
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    netjs-cli

Network management tool written in JS


Version published
Weekly downloads
73
increased by3550%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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)

Keywords

FAQs

Last updated on 21 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc