[Project] AutoCidade - Brazilian city guide built with Go

110 views
Skip to first unread message

Andrey Andrade

unread,
Dec 21, 2025, 11:14:03 PM (4 days ago) Dec 21
to golang-nuts
Hi gophers!

I'd like to share a project I built entirely in Go: AutoCidade (https://autocidade.com).

It's a Brazilian city guide serving data for:
- 20 largest cities in Brazil
- Neighborhoods organized by region
- Area codes (DDDs) for all states
- Local businesses by category

Tech stack:
- Go 1.24
- LevelDB for storage
- Native html/template
- No external frameworks

I also released the data as open JSON files on GitHub:
https://github.com/andradeandrey/autocidade-dados-abertos

Available datasets:
- cities.json - 20 cities with population, area codes
- states.json - 27 Brazilian states
- ddds.json - 67 area codes mapped to cities
- neighborhoods/*.json - Neighborhoods by city and region

Quick usage example:

```go
type City struct {
    Slug       string `json:"slug"`
    Name       string `json:"nome"`
    State      string `json:"estado"`
    DDD        string `json:"ddd"`
    Population int    `json:"populacao_estimada"`
}

resp, _ := http.Get("https://raw.githubusercontent.com/.../dados/cidades.json")
var data struct { Cities []City `json:"cidades"` }
json.NewDecoder(resp.Body).Decode(&data)
```

Feedback welcome! PRs are open if anyone wants to add more cities or improve the data.

Cheers,
Andrey

--
AutoCidade: https://autocidade.com
GitHub: https://github.com/andradeandrey/autocidade-dados-abertos

Wathika Wanini

unread,
Dec 24, 2025, 3:07:59 PM (yesterday) Dec 24
to golang-nuts

The UI/UX looks smooth overall.

I noticed a couple of issues:

Also, as a possible improvement, the chatbot could be scoped more like a RAG system, so it only answers based on information from your site.

Andrey Andrade

unread,
10:04 AM (8 hours ago) 10:04 AM
to golang-nuts

Thank you so much for taking the time to review and for the detailed feedback!

You're absolutely right about both issues — I'll look into the missing element on the dashboard page and fix the 405 error on the maintenance page right away.

Regarding the chatbot suggestion, I completely agree. Scoping it as a RAG system to answer only based on site information would make it much more useful and focused. That's definitely something I want to implement.

Really appreciate you pointing these out!

Reply all
Reply to author
Forward
0 new messages