No description
Find a file
Kumi 6f5863b746
fix(routing): handle redirects for nested wiki routes
Updated the route to accept nested paths for wiki titles.
Added logic to handle redirects within wiki articles, checking
for redirection messages and appropriately redirecting if the
"redirect" query parameter is not set to "no".

This ensures smoother navigation between articles, even when
dealing with paths that include slashes, which helps enhance
user experience.

Fixes #3.
2024-08-17 11:42:09 +02:00
.forgejo/workflows feat: add CI/CD workflow for publishing Python package 2024-07-16 10:08:07 +02:00
.vscode refactor: restructure project for PyPI packaging 2024-07-16 09:58:18 +02:00
src/wikimore fix(routing): handle redirects for nested wiki routes 2024-08-17 11:42:09 +02:00
.gitignore chore: update .gitignore to include /dist/ directory 2024-07-16 09:59:11 +02:00
LICENSE feat: initial setup of Wikimore Flask app with basic features 2024-07-11 12:25:19 +02:00
pyproject.toml chore: bump version to 0.1.2 2024-07-16 10:20:05 +02:00
README.md refactor: restructure project for PyPI packaging 2024-07-16 09:58:18 +02:00
requirements-dev.txt chore: update dependencies management for development 2024-08-17 08:26:25 +02:00

Wikimore - A simple frontend for Wikimedia projects

Support Private.coffee! Matrix PyPI PyPI - Python Version PyPI - License Latest Git Commit

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

  1. Create a virtual environment and activate it
python3 -m venv venv
source venv/bin/activate
  1. Install the package from PyPI
pip install wikimore
  1. Run the application
wikimore
  1. Open your browser and navigate to http://localhost:8109

Development

  1. Clone the repository
git clone https://git.private.coffee/privatecoffee/wikimore.git
cd wikimore
  1. Create a virtual environment and activate it
python3 -m venv venv
source venv/bin/activate
  1. Install the package in editable mode
pip install -e .
  1. Run the application
flask --app wikimore run
  1. Open your browser and navigate to http://localhost:5000

License

This project is licensed under the MIT License - see the LICENSE file for details.