Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PreMiD BetOnline Presence

A custom PreMiD presence that displays Discord Rich Presence while browsing BetOnline. It reads the current page URL to determine which section, sport, or game you are viewing — no API calls or third-party data sources involved.

ko-fi


About

This is purely a coding project — a browser extension presence built on the PreMiD platform. It does not interact with BetOnline's systems, submit wagers, or access account data. It only reads the current URL of a page you are already viewing and forwards that information to Discord's Rich Presence API.


Features

  • Shows which section you're browsing: Sportsbook, Casino, Racebook, Poker, Esports, and more
  • Displays sport and event/league detail (e.g. "NFL · Futures", "Live: Soccer", "MMA · UFC Baku")
  • Detects live betting, live streaming, and crypto gambling pages
  • Optional elapsed time shown on your Discord status
  • Optional "View on BetOnline" button linking directly to your current page
  • Settings: toggle browsing status, timestamp, and buttons

Project Structure

betonline-activity/       # Standalone presence (TypeScript source + build tooling)
pr-contribution/          # The two files submitted to PreMiD/Activities, plus PR screenshots
  ├── metadata.json
  ├── presence.ts
  └── screenshots/
build-plugin.ps1          # PowerShell build and packaging script
validate-metadata.js      # Metadata schema validation helper

Getting Started

Prerequisites

Development setup

cd betonline-activity
npm install

Building

.\build-plugin.ps1

The script compiles the TypeScript, packages presence.js and metadata.json into betonline-activity.zip, and cleans up staging artefacts. Drag the zip into PreMiD developer mode to load it.


PreMiD Store Submission

This presence is also submitted to the official PreMiD/Activities store. The pr-contribution/ folder mirrors what lives there:

websites/B/BetOnline/
├── metadata.json
└── presence.ts

pr-contribution/screenshots/ holds the reference screenshots included with that submission.


Contributing

Issues and pull requests are welcome. Please keep contributions focused on the presence logic, metadata, or URL pattern handling.


Support

If this project has been useful to you and you'd like to support continued development, you can buy me a coffee:

ko-fi


License

This project is not affiliated with, endorsed by, or connected to BetOnline, PreMiD, or Discord in any official capacity. It is an independent open-source development project.

About

A custom PreMiD presence for BetOnline.ag — shows your current section, sport, and game in Discord Rich Presence

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages