TaiLing.cc

is compiled from single C++ file,

and produces the sourcecode itself.

curl http://tailing.cc/tailing.cc -o tailing.cc

g++ tailing.cc -std=c++11 -O2 -lpthread -orun  # Linux

g++ tailing.cc -std=c++11 -O2 -lpthread -lws2_32 -orun  # Windows, MSYS2/MinGW

cl /EHsc /O2 tailing.cc /Ferun.exe  # Windows, MSVC

rm tailing.cc  # Take it easy, you can soon download it from localhost

./run 8888

Then, you can browse http://localhost:8888/

© Tailing Yuan