tom-james-watson/wikitrivia
Tentang
Wikidata sebagai permainan kartu trivia.
Gim dan emulasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliWikitrivia
Wikitrivia is a year-based timeline trivia game built from Wikimedia data.
The live app is at wikitrivia.tomjwatson.com.
Setup
Install dependencies with Bun:
bun install
Create a local env file before running scripts that contact Wikimedia APIs:
cp .env.example .env
Then edit .env and set WIKITRIVIA_CONTACT_EMAIL to your email address. This will be used in API requests to identify yourself to Wikimedia.
Development
Run the app locally:
bun run dev
Then visit localhost:3000.
Build the static site:
bun run build
Serve the built out/ directory:
bun run start
Useful checks:
bun run typecheck
bun run lint
bun run format:check
Content
Game content comes from Wikidata Query Service snapshots in content/queries/ and is built into deck JSON under public/decks/.
For the content tooling, see content/README.md.
FAQ
Where does the data come from?
The data is sourced from Wikidata and Wikipedia.
I found a card with incorrect data. What should I do?
If the underlying Wikidata item is wrong, fix it directly on Wikidata. It will then get synced back into the game the next time the decks are updated.
Does Wikitrivia track me?
The hosted game counts plays, finishes and shares anonymously, with no cookies, accounts or advertising trackers. See the privacy page for details.
Jelajahi proyek terkait
Memuat…