The user interface of Snippit project.
The server is implemented with Klein + Twisted for the best performance.
This repo is still under development, feel free to send a bug report.
pip3 install klein numpy anytree logzero
You can also use pip install -r ./requirements.txt
for fixed package version
- Open the server to load your Snippits output.
./script/server.py
(Default: /tmp/snippits) - Use your web browser to open
http://127.0.0.1:5000/
- If your application does not contain DWARF (i.e. gcc -g), the Code section might be blank.
- Please compile your program with
-g
flag to enjoy the code mapping. - The current version does not search for file, it uses the absolute path to locate the file. You must compile the binary on your machine in order to make code mapping work.
- Install the packages of web UI by
npm install
. - Run command
npm run watch
for online builds of source codes.
DEBUG=1 ./script/server.py