forked from PrivateCoffee/wikimore
No description
Kumi
872157139a
Extended the home route to accept optional project and language parameters to dynamically render content based on these inputs. Improved handling within the article fetching function, including validating projects and languages, adding variant headers, and following redirects conditionally. Updated links to accommodate internal, external, and interwiki links, with structured checks for main page redirections. Removed redundant meta links and edit sections to clean up the rendered content. Added proxying for images and videos, converted category elements to links, and improved class assignments for reference links. Ensured right-to-left languages are handled appropriately. Fixes #29. |
||
---|---|---|
.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.