simple-leaderboard

command module
v0.0.0-...-fde8f93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

README

simple-leaderboard

A simple self-hostable leaderboard & score database.

This is written in Go with SQLite

Setup

  1. Build/Download server executable
  2. Initialize database
  3. Uh... Done!

The leaderboard database doesn't exist yet, and you'll have to create it. You can do that by executing simple-leaderboard -init. And after that, You can just launch the server again by simply calling simple-leaderboard

By default, the server listens on port :5432, If you don't like that, You can provide the -addr flag with the address you want the server to listen on, such as -addr ":8000" to listen on port 8000.

Build it yourself
Prerequisites
  • git
  • go
  • gcc (required for sqlite3)

To build the leaderboard server, Clone the git repository: git clone https://github.com/lines-of-codes/simple-leaderboard.git

Then in the project folder, you can simply run go build to build the project.

License

This software is licensed under the GNU GPLv3.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL