basalt-rs / basalt-rs/basalt-server

Don't compile the packet within basalt-server

Open
#31 0 comments 0 reactions 0 assignees Claimed by @funnyboy-roks View on GitHub
enhancement
Dominant language
Rust
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- Remove the compilation of the packet from basalt-server once https://github.com/basalt-rs/bedrock/issues/18 is complete.
- Add a new _optional_ CLI argument which accepts the path to the packet PDF that should be served at `/competition/packet.pdf`
- Add endpoint at `/competition` that will give information about the competition (i.e., version, whether the web server is hosted, _whether there is a packet download_)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the basalt-server CLI argument handling and the competition HTTP routes, then check issue #18 before changing packet compilation. The work is done when packet compilation is removed, an optional packet PDF path serves /competition/packet.pdf, and /competition reports the requested competition information.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.