https://github.com/arnav-kr/box
A place where you can create and solve boxes (challenges, riddles, ctfs, scavenger hunts)
https://github.com/arnav-kr/box
api arnav box ctf express puzzles riddles self-hosted supabase
Last synced: 3 months ago
JSON representation
A place where you can create and solve boxes (challenges, riddles, ctfs, scavenger hunts)
- Host: GitHub
- URL: https://github.com/arnav-kr/box
- Owner: arnav-kr
- License: agpl-3.0
- Created: 2025-02-21T19:06:48.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-21T21:08:14.000Z (3 months ago)
- Last Synced: 2025-02-21T21:28:32.769Z (3 months ago)
- Topics: api, arnav, box, ctf, express, puzzles, riddles, self-hosted, supabase
- Language: JavaScript
- Homepage: https://box.arnv.dev
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Welcome to **The Box**!
A place where you can create and solve boxes.boxes can be any type of challenge, puzzle, or riddle. You make a box and the community tries to solve it.
## Usage:
```txt
Base URL: box.arnv.devGET / - View Help Message
GET /boxes - get a list of boxes
GET /box/:id - get a box by idPOST /create - create a new box
Content-Type: application/json
data: {
name: string, min 3, max 50
content: string, max 200
solution: string, max 200
difficulty?: number, 1-5
tags?: array of strings, each tag length min 3, max 20
}
POST /box/:id/solve - solve a box by id
Content-Type: application/json
data: {
solution: string, max 200
}
```
## Quick Tips:
- Use [ggl.link/jsonformatter](https://ggl.link/jsonformatter) to easily work with JSON data in Browser
- Use [curl](https://curl.se/) or other tools to interact with the API from terminal## Author
[Arnav Kumar](https://github.com/arnav-kr)Happy Box-ing! (lol)🎉