How unb-mds/2026-2-glossariounb works
Glossário UnB is a static, collaborative glossary delivered as a browser PWA. A visitor searches or browses terms, optionally filters by type or campus, and opens a term for its definition, example, source and, where available, location. The app loads and validates the JSON catalog before rendering; the service worker supports offline use. The README also identifies a separate project-presentation site. The sampled source shows the main app, domain rules, validation and caching; some page and map wiring is documented only indirectly, so uncertain links are dashed.
Main entry points: app.js Glossary app · sw.js Offline service worker · termos.js Search and filter rules · index.html Glossary home
Components 18
Glossary experience
- Glossary app
frontend/js/app.js - Term search
frontend/js/app.js - Filtered browsing
frontend/js/app.js - Term details
frontend/js/app.js - Location map
frontend/js/app.js - Glossary home
frontend/index.html - All terms page
frontend/todas-siglas.html - Term page
frontend/termo.html
Term domain
- Search and filter rules
frontend/js/termos.js - Term schema validation
frontend/js/validacao-termo.js - Glossary catalog
frontend/data/termos.json
PWA delivery
- Offline service worker
frontend/sw.js - PWA manifest
frontend/manifest.json - Glossary styling
frontend/styles.css
Project presentation
- Project presentation
sobre/index.html
Other components
- Glossary visitor
- Leaflet map library
- OpenStreetMap tiles
Connections 22
- Glossary visitor → Glossary home: opens
README.md - Glossary visitor → All terms page: browses
README.md - Glossary visitor → Term page: opens
README.md - Glossary visitor → Project presentation: views
README.md - Glossary app → Glossary catalog: fetches
- Glossary app → Search and filter rules: calls
frontend/js/app.js - Glossary app → Term schema validation: validates with
frontend/js/app.js - Glossary app → Term search: initializes
frontend/js/app.js - Glossary app → Filtered browsing: initializes
frontend/js/app.js - Glossary app → Term details: initializes
frontend/js/app.js - Term search → Search and filter rules: searches with
frontend/js/app.js - Filtered browsing → Search and filter rules: filters with
frontend/js/app.js - Term details → Search and filter rules: finds term with
frontend/js/app.js - Term details → Location map: renders
frontend/js/app.js - Glossary app → Offline service worker: registers
frontend/js/app.js - Offline service worker → Glossary catalog: caches
frontend/sw.js - Offline service worker → Glossary home: pre-caches
frontend/sw.js - Offline service worker → All terms page: pre-caches
frontend/sw.js - Offline service worker → Term page: pre-caches
frontend/sw.js - Offline service worker → Glossary styling: pre-caches
frontend/sw.js - Location map → Leaflet map library: uses
- Location map → OpenStreetMap tiles: requests tiles