https://github.com/dpriskorn/wikidatatopiccurator
Web application that helps Wikimedians add topics to items in Wikidata.
https://github.com/dpriskorn/wikidatatopiccurator
curation wikidata
Last synced: over 1 year ago
JSON representation
Web application that helps Wikimedians add topics to items in Wikidata.
- Host: GitHub
- URL: https://github.com/dpriskorn/wikidatatopiccurator
- Owner: dpriskorn
- License: agpl-3.0
- Created: 2024-01-23T04:14:51.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-19T16:26:59.000Z (over 1 year ago)
- Last Synced: 2025-02-19T17:24:31.467Z (over 1 year ago)
- Topics: curation, wikidata
- Language: Python
- Homepage: http://162.19.226.24:8080/
- Size: 600 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
***This app has been deprecated and archived in favor of [a React + Vite rewrite](https://github.com/dpriskorn/topic-creator-frontend/) which works way faster and can be hosted in Toolforge.***
# Wikidata Topic Curator
This is a simplified rewrite of ItemSubjector into a webapp
to help wikimedians curate scientific articles with topics.
Start page:

Subtopic page:

Query page:

Results page:

## Features
See the documentation.
## Documentation
https://www.wikidata.org/wiki/Wikidata:Tools/Wikidata_Topic_Curator
## Participating
See the issues in Github. Feel free to open a new one or send a pull request. :)
## License
AGPLv3+
## Updating the dependencies and docker image
1. open pycharm and make sure there is a local interpreter
2. if no local interpreter:
3. delete the .venv directory
3. create a new venv in pycharm
1. run $pip install --upgrade pip && pip install poetry
1. search for a suitable updated python image here https://hub.docker.com/_/python/
2. update the Dockerfile with the new python image name
3. run ./[update_poetry.sh](update_poetry.sh)
5. run ./[build_and_run_container.sh](build_and_run_container.sh)
6. commit and push changes
7. go to the vps and pull & rebuild the image & start the docker container
## Inspiration
This app was inspired by [topictagger](https://github.com/lubianat/topictagger), AuthorDisambiguator and Scholia.
The bootstrap layout was inspired by [Wikidata Lexeme Forms](https://lexeme-forms.toolforge.org/)
## What I learned
* the syntax of flask and FastAPI seem very similar
* jinja2 templates are really cool
* pycharm has very nice html editing support :)
* chatgpt is very good at helping with flask apps, which really sped up development
* bootstrap is nice, I don't have to fiddle with CSS at all, just choose a few classes and it's good enough to get out the door
* chatgpt can generate all the javascript I'll ever need for simple projects like this one. Very nice not having to learn and keep that in memory at all.
## Effort
This software is a product of about two weeks work of time.