No description
Kumi
a3395e118e
Replaced outdated Wikimedia API endpoints with updated REST API endpoints for fetching articles and search results. Introduced custom headers to include User-Agent for requests, which helps in identifying the source of traffic. Enhanced error handling for article fetch by changing the container element from 'body' to 'div' and handling potential language variants in requests. Ref: #16 |
||
---|---|---|
.forgejo/workflows | ||
.vscode | ||
src/wikimore | ||
.gitignore | ||
LICENSE | ||
pyproject.toml | ||
README.md | ||
requirements-dev.txt |
Wikimore - A simple frontend for Wikimedia projects
Wikimore is a simple frontend for Wikimedia projects. It uses the MediaWiki API to fetch data from Wikimedia projects and display it in a user-friendly way. It is built using Flask.
This project is still in development and more features will be added in the future. It is useful for anyone who wants to access Wikimedia projects with a more basic frontend, or to provide access to Wikimedia projects to users who cannot access them directly, for example due to state censorship.
Features
- Supports all Wikimedia projects in all languages
- Search functionality
- Proxy support for Wikimedia images
Instances
URL | Provided by | Country | Comments |
---|---|---|---|
wikimore.private.coffee | Private.coffee | Austria |
If you operate a public instance of Wikimore and would like to have it listed here, please open an issue or a pull request.
Installation
Production
- Create a virtual environment and activate it
python3 -m venv venv
source venv/bin/activate
- Install the package from PyPI
pip install wikimore
- Run the application
wikimore
- Open your browser and navigate to
http://localhost:8109
Development
- Clone the repository
git clone https://git.private.coffee/privatecoffee/wikimore.git
cd wikimore
- Create a virtual environment and activate it
python3 -m venv venv
source venv/bin/activate
- Install the package in editable mode
pip install -e .
- Run the application
flask --app wikimore run
- Open your browser and navigate to
http://localhost:5000
License
This project is licensed under the MIT License - see the LICENSE file for details.