Giter Site home page Giter Site logo

linux-rest-api's Introduction

linux-rest-api - A REST API for Linux!

It makes it possible to configure your entire system (well, parts which are implemented) via a REST API. The main advantage is that you don't have to parse all kind of configuration files, it is a community effort, all kind of parsers are implemented.

It's the modern version of Webmin.

Examples:

  • Add a pg_hba.conf entry and reload PostgreSQL configuration.
  • Enable/disable a website for nginx and reload.
  • Get system state like uptime, free memory or disk space. (Make it easier to monitor.)
  • Upgrade your system in an automated way (e.g. apt-get upgrade)
  • Stop/start systemd services
  • Get status about services
  • You can use it as a building block for your appliance.

Features

  • Upload a file anywhere on the filesystem
  • Download any file from the system
  • Get information about the System (os-release, uptime, kernel version, etc.)

Security

The process should be run as root, and it should not be exposed to the internet directly, because it would open a huge security risk on your box. It's best to use on a closed, trusted internal network, and it still should be protected by strong authentication over HTTPS. (e.g. with client certificates AND token)

Requirements

  • Any kind of Linux system
  • Python 3.6+
  • gcc (for installing psutil) or the psutil package pre-installed

linux-rest-api's People

Contributors

kissgyorgy avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.