filip2cz / status-client-c

https://github.com/BotoX/ServerStatus client implementation in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

status C client for Linux

Original client of https://github.com/BotoX/ServerStatus compiled into C with Nuitka.

Changes in original client: https://github.com/filip2cz/status-client-c/commit/84a4d6b5ee3e50abaa3b0ee80d0ee887e05fadd6

Usage

./client.bin hostname port user password

for example:

./client.bin status.botox.bz 35601 s01 some-hard-to-guess-copy-paste-password

How to build

This tutorial is written for Ubuntu 22.04 LTS

  1. Install python2 and python2-dev
sudo apt update
sudo apt install python2 python2-dev
  1. Install pip for python2
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
  1. Install Nuitka
python2 -m pip install nuitka
  1. Compile program with Nuitka
python2 -m nuitka --standalone client.py

client.bin is now in client.dist directory.

About

https://github.com/BotoX/ServerStatus client implementation in C

License:MIT License


Languages

Language:Python 100.0%