How to add your /brag

A JSON file, a quick command, and a pull request. You'll be on the map in minutes.

1

Fork the repo

Go to github.com/alexgaudon/slashbrag and click the Fork button in the top-right. That's your copy now.

2

Create your entry file

Add a file to data/ called your-name.json. Use kebab-case — the filename is your display name (jane-doe.json → "Jane Doe").

data/your-name.json

{
  "location": "City, Country",
  "link": "https://yoursite.com/brag",
  "description": "A short sentence about you and what you do.",
  "image-url": "https://example.com/avatar.jpg",  // optional
  "tags": ["web-dev", "open-source"]               // optional
}
3

Add coordinates

Your entry needs lat and lng fields so it shows on the map. Run this from the project root:

npm run enrich

It geocodes your location via OpenStreetMap and writes the coordinates into your JSON file. Already-geocoded locations are cached, so re-running it is instant.

4

Submit a pull request

Commit, push to your fork, and open a pull request. Once it's merged, your page is live in the directory.

Tips