Quick GRC-to-HTML demo

This is a part of my sdr_snippets repo,containing a bunch of little hacks around Software Defined Radio.

Specifically, this is a quick, somewhat janky demo of the GNU Radio GRC-to-HTML thing I put together recently. This allows you to include GRC files directly into HTML pages with native HTML elements. This allows people to interact with them like web pages, including zooming and scrolling.

This is a very, very rough zeroeth draft. I probably shouldn't even be sharing it, but I thought it was interesting enough to put out there early. The javascript is pretty awful, and there are a bunch of things which are unsatisfactory. However, the idea is the key thing I want to show people: we can put flowgraphs into normal webpages, instead of taking crappy screenshots of the things.

Another neat thing is that you can put multiple of these into the same place. Here, for instance, is a drop-down that lets you call up any of a handful of GRCs I've uploaded with this directory. Again, they're rough looking, but the idea is the key thing

Select a flowgraph to render:

This is an undertaker project. You can check out your own copy of it by doing a git clone of this URL (right-click and "Copy URL"). It contains everything needed to extend this project, including this webpage and all the scripts used to generate it.

Undertaker is a tool for managing the open source development/publishing/release process, which pulls your source code, documentation, blog posts, etc, all into a single static "gitball" for release. It can also generate static websites from locally-dynamic files, allowing you to have a project blog that looks dynamic but is actually statically published. This makes your content very friendly to archiving by tools like the wayback machine, and also to indexing by web crawlers. You can also publish all your content via trivial static webservers, including CDNs or just local files.

To republish this code as intended, please check out undertaker, at http://www.joshisanerd.com/projects/undertaker/ or https://github.com/jbm9/undertaker. )

Copyright © 2014-2015 Josh Myer
The author's homepage.