No description
Find a file
Kumi fcb6a4aa96
fix(proxy): validate URL to prevent invalid inputs
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.
2024-07-16 07:51:01 +02:00
.vscode feat: initial setup of Wikimore Flask app with basic features 2024-07-11 12:25:19 +02:00
templates feat: initial setup of Wikimore Flask app with basic features 2024-07-11 12:25:19 +02:00
.gitignore feat: initial setup of Wikimore Flask app with basic features 2024-07-11 12:25:19 +02:00
app.py fix(proxy): validate URL to prevent invalid inputs 2024-07-16 07:51:01 +02:00
LICENSE feat: initial setup of Wikimore Flask app with basic features 2024-07-11 12:25:19 +02:00
README.md feat: initial setup of Wikimore Flask app with basic features 2024-07-11 12:25:19 +02:00
requirements.txt feat: initial setup of Wikimore Flask app with basic features 2024-07-11 12:25:19 +02:00

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

  1. Clone the repository
  2. Install the required packages using pip install -r requirements.txt
  3. Run the app using python app.py

Usage

  1. Open your browser and navigate to http://localhost:5000
  2. 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.