HubFrontend
Official web client for Drivers Hub built with minimalistic design and dynamic config loading.
Install / Use
/learn @CharlesWithC/HubFrontendREADME
Drivers Hub: Frontend
____ _ __ __ __
/ __ \_____(_) _____ __________ / / / /_ __/ /_
/ / / / ___/ / | / / _ \/ ___/ ___/ / /_/ / / / / __ \
/ /_/ / / / /| |/ / __/ / (__ ) / __ / /_/ / /_/ /
/_____/_/ /_/ |___/\___/_/ /____/ /_/ /_/\__,_/_.___/
An advanced Drivers Hub solution for Euro Truck Simulator 2 / American Truck Simulator VTCs.
About
This is a working demonstration of a web client for the Drivers Hub.
As it is built by a backend developer obligated to work on frontend, as well as past attempts at monetization, the codebase is relatively messy and fragile.
Nevertheless, everything works just fine and directly out of the box with the backend server.
Features
Most of the features provided by backend are supported. See drivershub.charlws.com for more information.
Additional features - these are implemented with non-standard approaches or without direct backend support:
- [announcement/downloads/poll] Add
[Image src="{link}" loc="left|right"](*case-sensitive) to the beginning of content/description to show an image banner for an announcement / downloadable item. - [event] Add
[Image src="{link}"](*case-sensitive) to the beginning of description to show an image heading for an event. - [display] VTC Background image
- [display] VTC Theme & Name Color
- [gallery] Gallery
More additional features - these are implemented by using api endpoints in creative ways:
- Auto import multiple trucky jobs
- Sync member profiles
- Compare TruckersMP Members
- Batch update tracker
- Batch update roles
- Batch dismiss members
- Prune users
- Advanced form builder
Electron client features:
- Not affected by downtime of frontend server
- Local static files / No need to request it every time on load
- Switch Drivers Hub
- OAuth login with default browser
- Custom build (icon / locked domain)
- Discord Rich Presence
- Desktop Notifications
Getting Started
Prerequisite
- Node v25.8.0
Note: Any modern version should work.
Update Environment Variables
# .env(.development|production)
# whether to use multihub
VITE_USE_MULTIHUB=false|true
# if using multihub, the discovery endpoint must accept 'domain' param, and return client config
VITE_MULTIHUB_DISCOVERY=
# if not using multihub, provide the url to fetch client config
# https://github.com/CharlesWithC/HubBackend/blob/main/src/external_plugins/client-config.py
VITE_CONFIG_URL=https://<domain>/<prefix>/client/config/global
Development Mode
# install dependencies
npm ci
# launch the server
npm run dev
Production Mode
# build the code
npm run build
# distribute the code
rsync ...
Resources
- HubBackend provides information on backend design and api documentation
- wiki.charlws.com provides some (possibly outdated) information on using the drivers hub
License
This repository is licensed under the GNU Affero General Public License v3.0.
Copyright © 2022-2026 CharlesWithC
<img src="https://drivershub.charlws.com/images/banner.webp" height="80" alt="Logo">Related Skills
bluebubbles
332.0kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
slack
332.0kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
81.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Agent Development
81.7kThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
