Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mathfixer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathfixer

mathfixer, a tool for fixing math in MediaWiki-based wikis

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

mathfixer, a tool for fixing math in MediaWiki-based wikis

MediaWiki-based wikis usually use Wikipedia to show math. However, Wikipedia is blocked in some places.

This tool replaces math tags with MathJax to let the math be displayed correctly, using a local proxy at 127.0.0.1 (i.e.: this is not a VPN-like tool).

Installation

mathfixer requires mitmproxy and bs4. You should set the system proxy IP to be 127.0.0.1 and port to be the port configured for mathfixer for it to work. Also, it requires the command line mitmdump (part of mitmproxy) to be in PATH.

Usage

mathfixer

The port 8080 is used for the proxy and the wiki esolangs.org is fixed.

mathfixer -p 1234 -d somewiki.org

The port 1234 is used for the proxy and the wiki somewiki.org is fixed.

You should bypass the browser cache if you accessed the wiki before.

Effect

Before: 2024-09-06-215810.png

After: 2024-09-06-215957.png

Note: Both images are screenshots of https://esolangs.org/wiki/Factorial which means they are both public domain.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc