Generally, there are three kinds of MEV: sandwich, arbitrage, and liquidation.
This repo implements a type of arbitrage by backrunning Uniswap V2/Uniswap V3 transactions on Ethereum.
This does not promise profitability, as other factors such as node speed, swap paths, bribes, etc., also matter. However, it should serve as an example for study purposes.
Use at your own risk.