Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tom-james-watson/wikitrivia
Wikidata as a trivia card game.
https://github.com/tom-james-watson/wikitrivia
Last synced: 2 months ago
JSON representation
Wikidata as a trivia card game.
- Host: GitHub
- URL: https://github.com/tom-james-watson/wikitrivia
- Owner: tom-james-watson
- License: mit
- Created: 2021-04-18T00:12:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-30T19:10:36.000Z (6 months ago)
- Last Synced: 2024-07-30T23:35:40.485Z (6 months ago)
- Language: TypeScript
- Homepage: https://wikitrivia.tomjwatson.com
- Size: 2.48 MB
- Stars: 484
- Watchers: 5
- Forks: 82
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- Awesome - Wiki Trivia - Wikidata as a trivia card game. (Games / Looking for software, projects, courses or inspiration?)
README
# Wiki Trivia
This is the source code for the web app at https://wikitrivia.tomjwatson.com.
The repository for the scraper can be found [here](https://github.com/tom-james-watson/wikitrivia-scraper).
## Usage
### Prerequisites
```bash
npm install
```### Development
```bash
npm run dev
```Then visit http://localhost:3000/ to preview the website.
### Static build
To build a static version of the website to the `out` folder, run:
```bash
npm run build
```Then run said build with:
```bash
npm start
```## FAQ
### Where does the data come from?
The data is all sourced from [wikidata](https://www.wikidata.org).
### I was played a card that doesn't make sense - what gives?
There are some cards that unfortunately don't quite make sense or have bad data. These need to be removed from the game and, ideally, to have their underlying wikidata entry fixed.
Please report any bad cards here: https://github.com/tom-james-watson/wikitrivia/discussions/2.