GithubHelp home page GithubHelp logo

rlpa-server's Introduction

rlpa-server

Another go implement of estk.me rlpa-server.php(estk.me Cloud Enhance server)

  • Download Profile
  • Process Notification (consistent with the behavior of rlpa-server.php, notifications for non "delete" operations will be removed after processing)

Under construction:

  • Remote Management(http api)

This feature is currently under construction. However, it is not necessary to use this feature in normal usage scenarios, and I am not sure if I should complete it

Usage

Compile latest lpac, then place the lpac binary program in the same directory as the rlpa-server program

use environment variables to set port

  • SOCKET_PORT: socket port for estk rlpa, default 1888
  • API_PORT: http management api port, default 8008

debug log output: start with -debug argument to enable debug log level

systemd service example

Write the following content into /etc/systemd/system/rlpa-server.service

[Unit]
Description=rlpa server
Wants=network-online.target
After=network-online.target

[Service]
ExecStart=/path/to/rlpa-server
WorkingDirectory=/path/to/rlpa-server-directory
Restart=on-failure
User=[your-user]

[Install]
WantedBy=multi-user.target
  • ExecStart: rlpa-server binary path
  • WorkingDirectory: The directory where rlpa server is located
  • User: Replace with actual user

Then execute sudo systemctl daemon-reload to reload services

  • Start rlpa-server: sudo systemctl start rlpa-server
  • Let rlpa-server start with system: sudo systemctl enable rlpa-server

Public Server

โš ๏ธ No guarantee, use at your own risk

IP Port Location
205.185.117.85 1888 Las Vegas, NV, US

API Document

  • lpac shell command

Post json to /shell/{manageID} with header Password: {Password}

example

curl -X POST -H "Content-Type: application/json" \
-H "Password: 2660" \
-d '{"type":0, "command":"chip info"}' \
http://example.com:8008/shell/rAct

Will get lpac output

rlpa-server's People

Contributors

creamlike1024 avatar

Stargazers

 avatar  avatar [redacted] avatar

Watchers

 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.