Mooo
Mooo is a lightweight HTTP proxy written in Python. You can run it in a server then use it to access the internet.
Quick Start
Option 1: Use Python package
-
Install moon with
pip install mooo -
Start the proxy server
mooo --host 0.0.0.0 --port 8080
Option 2: Use Docker image
docker run -p 8080:8080 bebound/mooo --host 0.0.0.0 --port 8080
Use mooo
curl http://your_proxy_server:8080/{http_url}
git clone http://your_proxy_server:8080/{github_url}
Use pre-defined profile
Mooo provides some pre-defined profiles, you can use it to proxy some popular websites. Currently, it supports github, google and docker.
Use mooo to proxy github.com
mooo --profile github --profile github
Use mooo to proxy multiple profile with same port. You need to use reverse proxy to route the request to mooo with specific domain. Mooo routes the request to different profile based on the domain. For example, access github.custom.domain will route to github.com and docker.custom.domain will route to docker registry.
mooo --profile github docker google --smart-route
Parameters
| Parameter | Description | Default | Example |
|---|---|---|---|
--host |
The listening host | 127.0.0.1 | 0.0.0.0 |
--port |
The listening port | 8080 | |
--debug |
Show debug logging | False | |
--domain |
Once it's set, the request domain must match the wildcard domain list | None | *.github.com |
--cookie |
Pass the cookie to the server | False | |
--default-domain |
The default domain to proxy | None | https://www.github.com |
--profile |
Use pre-defined profile | None | github |
--smart-route |
Apply profile rules based on host domain | False |
Metadata
Release files for mooo 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mooo-0.1.1.tar.gz | 8.9 kB | Without provenance | Details for mooo-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mooo-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for mooo-0.1.1-py3-none-any.whl |
Total release size: 17.0 kB
Release files / mooo-0.1.1.tar.gz
| Download URL | mooo-0.1.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d5e81b275035ceef952460a0b3f49386ece684c3181cf5df9cc9218ca01c59a
|
|
BLAKE2b-256 checksum How to use checksums |
0aa000680c6704cdc21e7f24105acaf9eca878a66911def0c10a6cea70256dad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / mooo-0.1.1-py3-none-any.whl
| Download URL | mooo-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5d8b5cc91b2b11d5fd16909c662d289b197bc0c3a6235dd899f47ee8153fde6
|
|
BLAKE2b-256 checksum How to use checksums |
62d9467e74773620f04689bea3d32a596bf745645323c7fa877d68c4b930b43e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for mooo 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.