GithubHelp home page GithubHelp logo

pjsg / ka9q-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fventuri/ka9q-web

0.0 0.0 0.0 165 KB

A web interface for ka9q-radio by John Melton G0ORX

License: GNU General Public License v3.0

JavaScript 47.47% C 43.42% CSS 0.25% Makefile 1.06% HTML 7.80%

ka9q-web's Introduction

ka9q-web

A web interface for ka9q-radio by John Melton G0ORX

How to build ka9q-web

1 - Build and install ka9q-radio

2 - Install the prerequisites for the Onion framework: GnuTLS and libgcrypto

The Onion framework requires GnuTLS and libgcrypto to compute the SHA1 checksum required by WebSockets. They can be installed as follows:

  • on Ubuntu 22.04 (Jammy Jellyfish):
sudo apt install libgnutls28-dev libgcrypt20-dev
  • on Debian Stable (12, bookworm) and similar Linux distributions:
sudo apt install libgnutls28-dev libgcrypt-dev
  • on RedHat, CentOS, Fedora and similar Linux distributions:
sudo dnf install gnutls-devel libgcrypt-devel

3 - Build and install the Onion framework

The Orion framework includes a lot of dependencies (like sqlite3, redis, etc) that are not needed just to run ka9q-web. The instructions below build the Onion framework with all the dependencies. See section 3A for instructions to build a lighter version of the Onion framework with only the few necessary dependencies.

git clone https://github.com/davidmoreno/onion
cd onion
mkdir build
cd build
cmake ..

Before going ahead with the next steps, do make sure that the output from 'cmake' contains the line:

-- SSL support is compiled in.

If you don't see it, please review the instructions about the prerequisites for the Onion framework in the previous section.

make
sudo make install
sudo ldconfig

3A - Build and install a light version of the Onion framework

These commands are almost identical to the ones in the section above except that all the unused features of the Onion framework are disabled to limit the number of dependencies and other packages.

git clone https://github.com/davidmoreno/onion
cd onion
mkdir build
cd build
cmake -DONION_USE_PAM=false -DONION_USE_PNG=false -DONION_USE_JPEG=false -DONION_USE_XML2=false -DONION_USE_SYSTEMD=false -DONION_USE_SQLITE3=false -DONION_USE_REDIS=false -DONION_USE_GC=false -DONION_USE_TESTS=false -DONION_EXAMPLES=false -DONION_USE_BINDINGS_CPP=false ..

Before going ahead with the next steps, do make sure that the output from 'cmake' contains the line:

-- SSL support is compiled in.

If you don't see it, please review the instructions about the prerequisites for the Onion framework in the previous section.

make
sudo make install
sudo ldconfig

4 - Build and install ka9q-web

  • edit the first line of Makefile to point to the directory where you built ka9q-radio
  • run:
make
sudo make install
sudo make install-config    (it will install rx888-web.conf in /etc/radio)

How to run ka9q-web

  1. make sure ka9q-radio is running using the configuration rx888-web:
sudo systemctl start radiod@rx888-web
systemctl status radiod@rx888-web

Address any problem with radiod before going to the next step

  1. start ka9q-web
ka9q-web

Finally open a browser and connect locally to http://localhost:8081 , or from a remote browser to http://<your computer name/IP>:8081

NOTE: to start ka9q-web on a different ka9q-radio control address, the command line option is '-m', for instance:

ka9q-web -m hf.local

References

Copyright

(C) 2023-2024 John Melton G0ORX - Licensed under the GNU GPL V3 (see LICENSE)

ka9q-web's People

Contributors

fventuri avatar ka9q 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.