T0xic0der's Projects

t0xic0der/syncstar

SyncStar Guest operated service for creating bootable USB storage devices at any community conference kiosk Screenshots Features For development Minimal command line interface based configuration with wide range of customizable options Stellar overall codebase quality is ensured with 100% coverage of functional backend code Over 34 checks are provided for unit based, end-to-end based integration based codebase testing GitHub Actions and Pre-Commit CI are enabled to automate maintenance of codebase quality For consumption Asynchronous multiprocessing allows for flashing multiple storage devices simultaneously Programming standards and engineering methodologies are maintained as much as possible Frontend is adaptive across various viewport types and browser-side assistive technologies Detailed documentation for both consumption and development purposes are readily provided Installation For development Install the supported version of Python, Virtualenv, Poetry, Redis and CoreUtils on your Fedora Linux installation. $ sudo dnf install python3 python3-virtualenv poetry $ sudo dnf install redis coreutils Clone the repository to your local storage and make it your present working directory. $ git clone https://github.com/gridhead/syncstar.git $ cd syncstar Establish a virtual environment within the project and activate it for installing dependencies. $ virtualenv venv $ source venv/bin/activate Check the validity of the project configuration and install the dependencies from the lockfile. (venv) $ poetry check (venv) $ poetry install For consumption Install the supported version of Python, Python Package Installer Redis CoreUtils on your Fedora Linux installation. $ sudo dnf install python3 python3-pip $ sudo dnf install redis coreutils Elevate the privileges to the superuser level and install the syncstar package from Python Package Index. $ sudo -s # pip3 install syncstar Configure the service unit files for the endpoint service and worker service to the system services directory. $ sudo wget https://raw.githubusercontent.com/gridhead/syncstar/main/syncstar/system/endpoint.service -O /etc/systemd/system/ss-endpoint.service $ sudo wget https://raw.githubusercontent.com/gridhead/syncstar/main/syncstar/system/worker.service -O /etc/systemd/system/ss-worker.service Enable the service unis for the endpoint service and worker services. $ sudo systemctl enable ss-endpoint.service $ sudo systemctl enable ss-worker.service Initialization Download the Fedora Linux live images to a certain directory and make the images archive configuration file. $ wget https://download.fedoraproject.org/pub/fedora/linux/releases/40/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-40-1.14.iso $ cp Fedora-Workstation-Live-x86_64-40-1.14.iso /etc/syncstar/images/Fedora-Workstation-Live-x86_64-40-1.14.iso Download the images archive configuration file and make changes to include the recently downloaded image files. $ wget https://raw.githubusercontent.com/gridhead/syncstar/main/syncstar/config/images.yml -O /etc/syncstar/images.yml $ nano /etc/syncstar/images.yml Set the value of the following environment variable as the present location of the images archive configuration file. $ nano /home/$(whoami)/.bashrc $ export SYNCSTAR_ISOSYAML=/etc/syncstar/images.yml Enable the Redis service unit and check the status of the service. $ sudo systemctl enable redis.service $ sudo systemctl status redis.service Execution For development Ensure that the Redis service unit is active and check the status of the service. $ sudo systemctl start redis.service $ sudo systemctl status redis.service In a separate terminal session, execute the following command to start the endpoint service in an activated virtual environment. $ source venv/bin/activate (venv) $ syncstar --port 8080 --repair false --period 2 --images $SYNCSTAR_ISOSYAML This will start the endpoint service on port 8080 available across all network interfaces of the host device. The debug mode for the endpoint service will be disabled and the information would be refreshed after 2 seconds. The images archive configuration file mentioned previously will be used as a source for the live images. Dictionaries consisting of task schedules will not persist after a live reload when using the debug mode. In a separate terminal session, execute the following command to start the worker service in an activated virtual environment $ source venv/bin/activate (venv) $ sudo SYNCSTAR_ISOSYAML=/etc/syncstar/images.yml celery -A syncstar.task.taskmgmt worker --loglevel=info This will start the worker service that would accept tasks requested by the users of the endpoint service. The debug mode for the worker service will be disabled and there will be a default concurrency of 12 processes. The images archive configuration file mentioned previously will be used as a source for the live images. Dictionaries consisting of task schedules will not persist after a live reload when using the debug mode. Visit the homepage of the endpoint service using the browser of your choice to get started with using SyncStar. For consumption Ensure that the Redis service unit is active and check the status of the service. $ sudo systemctl start redis.service $ sudo systemctl status redis.service Start the endppint service unit and check the status of the service. $ sudo systemctl start ss-endpoint.service $ sudo systemctl status ss-endpoint.service Start the worker service unit and check the status of the service. $ sudo systemctl start ss-worker.service $ sudo systemctl status ss-worker.service Visit the homepage of the endpoint service using the browser of your choice to get started with using SyncStar. Organization The images archive configuration file stores an unordered dictionary of images archives available for usage. $ cat /etc/syncstar/images.yml The identifier for the images archives is the message digest text which can be found out using the following command. $ cat Fedora-Workstation-Live-x86_64-40-1.14.iso | sha256sum The second line per images archive entry stores the location of the file which is validated on every task run. path: /home/archdesk/Downloads/Fedora-Workstation-Live-x86_64-40-1.14.iso The third line per images archive entry stores the name that would be displayed to the users on the service frontend. name: Fedora Linux 40 Workstation rc1.14 The fourth line per images archive entry stores the type that would be used for metadata generation purposes. type: fedora The images archive that have not been provided with one of the supported types would be provided with the generic type. type: common The images archive should be verified for their consistency by the service administrators before consumption. $ wget https://download.fedoraproject.org/pub/fedora/linux/releases/40/Workstation/x86_64/iso/Fedora-Workstation-40-1.14-x86_64-CHECKSUM The following types of images archive are supported for metadata generation purposes used on the service frontend. | # | Name | Identity | Icon | |----|--------------------------|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 | Android | gdroid | | | 2 | Arch Linux | archlx | | | 3 | CentOS Stream | centos | | | 4 | Debian Linux | debian | | | 5 | Fedora Linux | fedora | | | 6 | Kodi or XBMC | kodimc | | | 7 | Linux Mint | lxmint | | | 8 | Manjaro Linux | mnjaro | | | 9 | Red Hat Enterprise Linux | redhat | | | 10 | OpenSUSE Linux | opsuse | | | 11 | Ubuntu Linux | ubuntu | | | 12 | Generic | common | | Appreciation If you like the efforts made here and want to support the development of the project, please consider giving a star to the project and forking it your namespace. I appreciate all kinds of contributions - ranging from small sized bug fixes to major sized feature additions as well as from trivial documentation changes to awesome codebase refactoring. Even if you do not have the capacity to take the development for a spin, you can help me out by testing out the project and getting in touch with me on the issue tracker with the things that must be fixed and the things that should be introduced.
  • Fedora 40 : aarch64, ppc64le, s390x, x86_64
  • Fedora 41 : aarch64, ppc64le, s390x, x86_64
  • Fedora rawhide : aarch64, ppc64le, s390x, x86_64

t0xic0der/pagure-exporter

Simple exporter tool that helps migrate repository files, data assets and issue tickets from projects on Pagure to GitLab
  • Fedora 39 : aarch64, ppc64le, s390x, x86_64
  • Fedora 40 : aarch64, ppc64le, s390x, x86_64
  • Fedora 41 : aarch64, ppc64le, s390x, x86_64
  • Fedora eln : aarch64, ppc64le, s390x, x86_64
  • Fedora rawhide : aarch64, ppc64le, s390x, x86_64

t0xic0der/firmitas

Simple notification service for X.509-standard TLS certificate statuses
  • Centos-stream+epel-next 9 : aarch64, ppc64le, s390x, x86_64

t0xic0der/packaging-automation

Automating package testing and building using Packit and COPR
  • Centos-stream 8 : aarch64, ppc64le, x86_64
  • Centos-stream 9 : aarch64, ppc64le, s390x, x86_64
  • Custom 1 : i386, x86_64
  • EPEL 7 : ppc64le, x86_64
  • EPEL 8 : aarch64, ppc64le, s390x, x86_64
  • EPEL 9 : aarch64, ppc64le, s390x, x86_64
  • Fedora 39 : aarch64, i386, ppc64le, s390x, x86_64
  • Fedora 40 : aarch64, i386, ppc64le, s390x, x86_64
  • Fedora 41 : aarch64, i386, ppc64le, s390x, x86_64
  • Fedora eln : aarch64, ppc64le, s390x, x86_64
  • Fedora rawhide : aarch64, i386, ppc64le, s390x, x86_64
  • Mageia 8 : aarch64, i586, x86_64
  • Mageia cauldron : aarch64, i686, x86_64
  • openSUSE Tumbleweed : aarch64, i586, ppc64le, x86_64

t0xic0der/fedora-messaging

A library for sending AMQP messages with JSON schema in Fedora infrastructure

t0xic0der/obserware

An advanced system monitor utility written in Python and Qt
  • Fedora 39 : x86_64
  • Fedora 40 : x86_64
  • Fedora 41 : x86_64
  • Fedora rawhide : x86_64

t0xic0der/mote

A Meetbot log wrangler, providing a user-friendly interface for Fedora Project's logs. mote allows contributors to the Fedora Project to quickly search and find logs beneficial in keeping up to date with the project's activities.
  • Centos-stream 8 : x86_64
  • EPEL 7 : x86_64
  • EPEL 8 : x86_64
  • Fedora 39 : x86_64
  • Fedora 40 : x86_64
  • Fedora 41 : x86_64
  • Fedora eln : x86_64
  • Fedora rawhide : x86_64
  • Mageia 8 : x86_64
  • Mageia cauldron : x86_64
  • openSUSE Tumbleweed : x86_64

t0xic0der/nvidia-auto-installer-for-fedora

A CLI tool which lets you install proprietary NVIDIA drivers and much more easily on Fedora Linux (32 or above, ELN or Rawhide)
  • Fedora 39 : x86_64
  • Fedora 40 : x86_64
  • Fedora 41 : x86_64
  • Fedora rawhide : x86_64

t0xic0der/supervisor

Reference frontend service for SuperVisor written in Python
  • Centos-stream 8 : aarch64, x86_64
  • EPEL 8 : aarch64, x86_64
  • Fedora 39 : aarch64, s390x, x86_64
  • Fedora 40 : aarch64, s390x, x86_64
  • Fedora 41 : aarch64, s390x, x86_64
  • Fedora eln : aarch64, s390x, x86_64
  • Fedora rawhide : aarch64, s390x, x86_64
  • Mageia cauldron : aarch64, x86_64
  • openSUSE Tumbleweed : aarch64, x86_64