No description
Kumi
00bd64413d
Updated the error handling to address cases where the body is missing in the wiki article response. Instead of returning an error page, the code now constructs a default HTML structure and uses BeautifulSoup to parse it, ensuring the body content can still be located and processed. This improves robustness and user experience when dealing with incomplete or malformed article data. Fixes #24. |
||
---|---|---|
.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.