pyacexy is a robust Python implementation of an AceStream HTTP proxy. It enables you to stream AceStream content via simple HTTP requests, making integration with media players, automation tools, and custom clients easy and efficient.
- Pure Python Implementation: Fast, lightweight, and easy to deploy or customize.
- AceStream to HTTP Proxy: Seamlessly converts AceStream streams for HTTP clients.
- Shell Integration: Includes helpful shell scripts for service management and automation.
- Docker Support: Ready-to-use Dockerfile for quick containerized deployment.
- Cross-Platform: Runs on any system with Python 3.x support.
- Python 3.6 or newer
- AceStream Engine installed and running
git clone https://github.com/wafy80/pyacexy.git
cd pyacexypip install -r requirements.txtStart the proxy server:
python pyacexy.pyBy default, the server listens on localhost:8000. You can change the host and port via command-line arguments or environment variables.
- Start the AceStream engine.
- Start
pyacexy. - Open VLC and enter the following URL:
http://localhost:8000/ace/getstream?id=<acestream_content_id>
You can configure pyacexy using:
- Command-line options
- Environment variables
- Editing the script (for advanced customizations)
Refer to the in-script documentation and comments for all available options.
To run pyacexy in a Docker container:
docker build -t pyacexy .
docker run -d -p 8000:8000 --name pyacexy pyacexyEnsure that your AceStream Engine is accessible from within the container or map its port appropriately.
This repository includes shell scripts to manage and automate the proxy, such as:
- Starting/stopping the proxy service
- Health checks and logs
Scripts are located in the scripts/ directory.
Contributions and pull requests are welcome!
- Fork the repository
- Create a new branch (
git checkout -b feature/my-feature) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/my-feature) - Open a pull request
This project is licensed under the MIT License. See LICENSE for details.
- Inspired by AceStream and open-source streaming initiatives.
- Special thanks to @Javinator9889/acexy, whose project served as an inspiration for this implementation.
Enjoy seamless AceStream streaming via HTTP with pyacexy!