Skip to content

snippits/snippit-ui

Repository files navigation

Snippit UI

The user interface of Snippit project. Image of Snippit

The server is implemented with Klein + Twisted for the best performance.

This repo is still under development, feel free to send a bug report.

Requirements

pip3 install klein numpy anytree logzero

You can also use pip install -r ./requirements.txt for fixed package version

Usage

  1. Open the server to load your Snippits output. ./script/server.py (Default: /tmp/snippits)
  2. Use your web browser to open http://127.0.0.1:5000/

Important Note on Code Mapping

  • 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.

Development Mode

  1. Install the packages of web UI by npm install.
  2. Run command npm run watch for online builds of source codes.

Running the server with debug mode

DEBUG=1 ./script/server.py

About

The user interface of Snippit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published