Skip to content

A web framework for visualizing bit-level algorithms

License

Notifications You must be signed in to change notification settings

joekir/algoexplore

Repository files navigation

algoexplore

GoBuild codecov Go Report Card

CodeQL GoSec

A web framework for visualizing bit-level algorithms.
The intent to help either your understanding or for teaching of algorithms to others

Leveraging the framework

You need to implement an "algo" in Golang that implements the interfaces in Algo.go
See internal/algos/ctph as an example implementation

<TODO frontend instructions>

Examples of usage

Running

$ COOKIE_SESSION_KEY=0x`openssl rand -hex 8` go run cmd/web_server/main.go

Running with debug logging

via glog

$ COOKIE_SESSION_KEY=0x`openssl rand -hex 8` go run cmd/web_server/main.go --logtostderr=1

Deploying to fly.io

1. flyctl secrets set COOKIE_SESSION_KEY=0x`openssl rand -hex 8`
2. fly launch

Running Tests

$ go test -race ./...