Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Ulto85/amongGX/llms.txt

Use this file to discover all available pages before exploring further.

amongGX stores all of its settings directly in browser.py β€” there is no external configuration file. Every customization below requires editing that file and re-running the application.
amongGX has no external configuration file. All customizations require editing browser.py directly. Back up the file before making changes.

Configurable Parameters

The three core settings that affect how amongGX presents itself to the user and the operating system are described below.
HOME_URL
string
default:"https://Among.robowolf.repl.co"
The URL loaded when the browser launches and when the Home toolbar button is pressed. It is set in two places inside browser.py: the __init__ method and the go_home method.
WINDOW_TITLE_PREFIX
string
default:"Among"
The string prepended to the current page title in the window title bar. Formatted as f'{prefix} - {page_title}' inside update_title().
APP_NAME
string
default:"Among"
The OS-level application name registered via QApplication.setApplicationName(). This value appears in taskbars, system monitors, and macOS menu bars.

Changing the Home Page URL

The home page URL is hardcoded in two places. Both must be updated together so that the launch page and the Home button load the same destination. In __init__ (the initial page load on startup):
# browser.py β€” __init__
self.browser.setUrl(QUrl("https://Among.robowolf.repl.co"))  
self.browser.setUrl(QUrl("https://your-new-homepage.example.com"))  
In go_home() (triggered by the Home toolbar button):
# browser.py β€” go_home()
def go_home(self):
    self.browser.setUrl(QUrl('https://Among.robowolf.repl.co'))  
    self.browser.setUrl(QUrl('https://your-new-homepage.example.com'))  
Replace https://your-new-homepage.example.com with any fully-qualified URL, including http:// addresses or local server URLs such as http://localhost:8080.

Changing the Window Title Prefix

The window title is assembled in update_title() using a Python f-string. The word Among before the dash is the prefix.
# browser.py β€” update_title()
def update_title(self):
    title = self.browser.page().title()
    self.setWindowTitle(f'Among - {title}')  
    self.setWindowTitle(f'MyBrowser - {title}')  
The {title} placeholder is replaced at runtime with whatever title the currently loaded web page reports. Do not remove it unless you want a static window title.

Changing the Application Name

The OS-level application name is set near the bottom of browser.py, after the MainWindow class definition:
# browser.py β€” bottom of file
app = QApplication(sys.argv)
app.setApplicationName("Among")  
app.setApplicationName("MyBrowser")  
This name appears in the operating system’s process list, taskbar grouping, and (on macOS) the menu bar. It is independent of the window title prefix above.
The toolbar contains four quick-link buttons, each backed by a dedicated method that calls self.browser.setUrl(). Update the URL string inside the relevant method to redirect that button to a different destination.

Discord button

def discord(self):
    self.browser.setUrl(QUrl('https://www.discord.com'))  
    self.browser.setUrl(QUrl('https://discord.gg/your-invite-code'))  

Music button (β™«)

def trap(self):
    self.browser.setUrl(QUrl('https://www.youtube.com/watch?v=8-NcrRzH0vA'))  
    self.browser.setUrl(QUrl('https://www.youtube.com/watch?v=YOUR_VIDEO_ID'))  

Among Us store button (࢞)

def get_amongus(self):
    self.browser.setUrl(QUrl('https://store.steampowered.com/app/945360/Among_Us/'))  
    self.browser.setUrl(QUrl('https://your-store-link.example.com'))  

Subscribe button (πŸ‘)

def subscribe(self):
    self.browser.setUrl(QUrl(  
        'https://www.youtube.com/channel/UClDPJcyKnwUiAX1UQgZgoAw'))  
    self.browser.setUrl(QUrl('https://www.youtube.com/@YourChannel'))  

Starting the Window Maximized

By default, MainWindow.__init__ calls self.show(), which opens the browser at its default size. A call to self.showMaximized() is present in the source but commented out:
# browser.py β€” end of __init__
#self.showMaximized()  #
self.showMaximized()   
self.show()
Remove or comment out the self.show() line after enabling self.showMaximized(), because showMaximized() already makes the window visible β€” calling self.show() immediately after is harmless but redundant.

Build docs developers (and LLMs) love