Refactor project branding from HexaHost to Axiom across all configurations, documentation, and code files. Update environment variables, Docker setup, and README to reflect the new brand name. Ensure consistency in naming conventions and improve clarity in setup instructions.
This commit is contained in:
@@ -17,7 +17,7 @@ from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
TOKEN = os.environ.get("TOKEN")
|
||||
BRAND_NAME = os.environ.get("brand_name", "HexaHost")
|
||||
BRAND_NAME = os.environ.get("brand_name", "Axiom")
|
||||
NAME = BRAND_NAME
|
||||
BotName = BRAND_NAME
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# ╚══════════════════════════════════════════════════════════════════╝
|
||||
|
||||
"""
|
||||
Centralized emoji module for the HexaHost bot.
|
||||
Centralized emoji module for the Axiom bot.
|
||||
All emoji definitions are stored here for easy management and consistency.
|
||||
"""
|
||||
|
||||
@@ -126,15 +126,15 @@ ZTICK = "<:Ztick:1222750301233090600>"
|
||||
ZUNMUTE = "<:zunmute:1448951487970414694>"
|
||||
ZWARNING = "<:zwarning:1448949627712966717>"
|
||||
ZWRENCH = "<:zwrench:1448951382597177495>"
|
||||
HEXAHOST_CONNECTION = "<:zyroxconnection:1448949425828528230>"
|
||||
HEXAHOST_HAMMER = "<:zyroxhammer:1448949447617806458>"
|
||||
HEXAHOST_LINKS = "<:zyroxlinks:1448949436939239495>"
|
||||
HEXAHOST_SYS = "<:zyroxsys:1448949469650620426>"
|
||||
HEXAHOST_CODE = "<:zyrox_code:1448949381436014662>"
|
||||
HEXAHOST_COMMAND = "<:zyrox_command:1448949381436014662>"
|
||||
HEXAHOST_GLOBAL = "<:zyrox_global:1448949370539217026>"
|
||||
HEXAHOST_OWNER = "<:zyrox_owner:1448949381436014662>"
|
||||
HEXAHOST_SEARCH = "<:zyrox_search:1448949381436014662>"
|
||||
AXIOM_CONNECTION = "<:zyroxconnection:1448949425828528230>"
|
||||
AXIOM_HAMMER = "<:zyroxhammer:1448949447617806458>"
|
||||
AXIOM_LINKS = "<:zyroxlinks:1448949436939239495>"
|
||||
AXIOM_SYS = "<:zyroxsys:1448949469650620426>"
|
||||
AXIOM_CODE = "<:zyrox_code:1448949381436014662>"
|
||||
AXIOM_COMMAND = "<:zyrox_command:1448949381436014662>"
|
||||
AXIOM_GLOBAL = "<:zyrox_global:1448949370539217026>"
|
||||
AXIOM_OWNER = "<:zyrox_owner:1448949381436014662>"
|
||||
AXIOM_SEARCH = "<:zyrox_search:1448949381436014662>"
|
||||
|
||||
# ============================================================================
|
||||
# DISCORD CUSTOM EMOJIS (Animated)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
# ╚══════════════════════════════════════════════════════════════════╝
|
||||
|
||||
"""
|
||||
HTTPS Tunnel for the HexaHost API — Cloudflare Tunnel via pycloudflared.
|
||||
HTTPS Tunnel for the Axiom API — Cloudflare Tunnel via pycloudflared.
|
||||
|
||||
Zero manual installs. Just:
|
||||
1. pip install pycloudflared (already in requirements.txt)
|
||||
@@ -27,16 +27,16 @@ How to get your CF_TUNNEL_TOKEN (browser only, no CLI needed)
|
||||
1. Go to https://one.dash.cloudflare.com
|
||||
2. Networks → Tunnels → Create a tunnel
|
||||
3. Choose "Cloudflared" as connector type
|
||||
4. Give it a name (e.g. hexahost-api) and click Save
|
||||
4. Give it a name (e.g. axiom-api) and click Save
|
||||
5. On the "Install connector" step, find the token in the command shown:
|
||||
cloudflared tunnel run --token <YOUR_TOKEN_HERE>
|
||||
Copy just the token string.
|
||||
6. Go to "Published Application Routes" tab → Add a Published Application Routes:
|
||||
Subdomain: HexaHost-api Domain: yourdomain.com Service: http://localhost:8000
|
||||
Subdomain: Axiom-api Domain: yourdomain.com Service: http://localhost:8000
|
||||
(Or use any domain you have on Cloudflare)
|
||||
7. Paste the token into your .env:
|
||||
CF_TUNNEL_TOKEN = "eyJhIjoiX..."
|
||||
CF_TUNNEL_URL = "https://hexahost-api.yourdomain.com"
|
||||
CF_TUNNEL_URL = "https://axiom-api.yourdomain.com"
|
||||
|
||||
That's the permanent URL — never changes between restarts.
|
||||
Unlimited bandwidth, unlimited requests, free.
|
||||
@@ -303,7 +303,7 @@ def _run_tunnel(binary: str, token: str, port: int, public_url: str) -> None:
|
||||
def start_tunnel() -> None:
|
||||
"""
|
||||
Start the Cloudflare Tunnel in a background daemon thread.
|
||||
Called from HexaHost.py after keep_alive().
|
||||
Called from Axiom.py after keep_alive().
|
||||
"""
|
||||
if not TUNNEL_ENABLED:
|
||||
print(f"{_YELLOW}◈ Tunnel: disabled via TUNNEL_ENABLED=false{_RESET}")
|
||||
|
||||
Reference in New Issue
Block a user