forked from PrivateCoffee/wikimore
No description
Kumi
fcb6a4aa96
Added a URL validation check in the proxy endpoint to ensure the URL starts with "https://upload.wikimedia.org/". This prevents potential misuse or errors caused by processing invalid URLs. Ensures only acceptable and expected URLs are processed, improving security and stability. |
||
---|---|---|
.vscode | ||
templates | ||
.gitignore | ||
app.py | ||
LICENSE | ||
README.md | ||
requirements.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
- Multi-language support (currently English and German, more can and will be added)
- Multi-project support (currently Wikipedia and Wiktionary, more can and will be added)
- Search functionality
- Proxy support for Wikimedia images
Installation
- Clone the repository
- Install the required packages using
pip install -r requirements.txt
- Run the app using
python app.py
Usage
- Open your browser and navigate to
http://localhost:5000
- Use the search bar to search for articles on a given Wikimedia project, in a given language
License
This project is licensed under the MIT License - see the LICENSE file for details.