CS BRASIL is a browser FPS built with vanilla JS and Three.js, served as a monorepo with a game and Astro-based site. It includes audio asset handling, a two-zone architecture, and multiple releases since 1.12.0.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
CS BRASIL: Treta Suprema is a browser-based FPS inspired by CS 1.6, rendered with Three.js, using vanilla JavaScript with no build for the game portion. The project is a monorepo with a game zone (public/) and a site zone (Astro) including API routes for ranking.
How it works
The game runs from public/ with vanilla JS and vendored Three.js, requiring only a static server. The site uses Astro with SSR API routes for global ranking and a public audio package managed separately. The repo includes an audio package script to fetch optional audio resources.
Getting started
For the game:
cd public
python3 -m http.server 8123
# open http://localhost:8123
For the full site:
git clone https://github.com/rubenmarcus/csbrasil.git
cd csbrasil
npm install
npm run fetch-audio # optional — with audio, otherwise synth sounds
npm run dev # Astro dev server
npm run build # generate dist/ (client + server)
npm run preview # serve dist/client statically
Recent releases
- v1.12.4 CS BRASIL v1.12.4 (2026-07-18): Ver commits abaixo.
- v1.12.3 CS BRASIL v1.12.3 (2026-07-18): ### Corrigido
- Modo de armas também filtra o mapa: em SÓ PISTOLAS/FACA/AWP os pickups incompatíveis somem do chão (não só da mão do jogador)
- Home: RANKING/COMO JOGAR/CONFIG viraram botões lati
- v1.12.2 CS BRASIL v1.12.2 (2026-07-18): ### Mudado
- Nick obrigatório pra jogar: sem nome, o JOGAR não deixa passar (campo treme, fica vermelho e pede "DIGITE UM NICK PRIMEIRO!")
- v1.12.1 CS BRASIL v1.12.1 (2026-07-18): ### Adicionado
- Modo de armas (dropdown ao lado do mapa): TODAS / SÓ PISTOLAS / SÓ FACA / SÓ AWP — afet
- v1.12.0 CS BRASIL v1.12.0 (2026-07-18): ### Adicionado
- Arsenal completo: AK-47, M4A1, MP5, Escopeta M3 e Deagle jogáveis (auto-fire com bloom, 8 pellets na M3, viewmodels próprios, sons reais da pasta audio/weapons/) além da AWP
Traction
23 stars, 6 forks, 8 open_issues as of the current data.
Behind the repo
Not applicable: no linked startup/company section in the provided facts.
Caveats
- License: none listed.
- Language: TypeScript.
- Created: 2026-07-17; last_push: 2026-07-18.
- Audio pack is optional and not versioned in the repository; fetch script is provided.
- Three.js r160 under MIT license; others are original, procedurally generated assets.





