Skip to content

Latest commit

 

History

History
72 lines (51 loc) · 1.6 KB

README.md

File metadata and controls

72 lines (51 loc) · 1.6 KB

StreamRipper: An Adaptive Distributed Network Cache on LAN

Project Repo for CS339: Computer Networking.

Main Features

This project provides an acceleration service for Bilibili. For more information, please see paper.pdf.

Getting Started

⚠️ DO NOT modify file structure.

Backend

Download rqlite & Install pyrqlite

Frontend

Download SwitchyOmega

Set http proxy 127.0.0.1:8080 (mitmproxy port)

Add proxy rule *.bilivideo.com

Add mitmproxy Certificates

pip install mitmproxy

Requirements

sudo apt install curl
sudo apt install ubuntu-restricted-extras # for firefox
pip install speedtest-cli
pip install icecream # for debug

Run it ! 😃

python start.py

Code Structure

├── src
│   ├── Backend
│   │   └── backend.py
│   ├── frontend.py
│   ├── Middleware
│   │   ├── local_DB.py
│   │   ├── main.py
│   │   ├── P2P
│   │   │   ├── client.py
│   │   │   └── server.py
│   │   ├── scheduler
│   │   │   ├── scheduler.py
│   │   │   └── speed_test.py
│   │   ├── split.py
│   │   └── utils.py
│   ├── start.py
│   └── utils.py
└── tests    # test and demo