Announcing contagiousbt-bencode

In this short blog post (my first "real" one, actually) I would like to announce the initial release of contagiousbt-bencode, a lightweight modular C++ library for reading/decoding data in Bencode format. I develop this library as a component for my BitTorrent client in the making (contagiousBT, obviously---don't hold your breath though), but since it turned out quite nicely I decided to go ahead with publishing it as a standalone project now.

contagiousbt-bencode comes with a couple of unit tests and even code coverage, although both are far from complete and for the time being the latter is more or less experimental in nature. Documentation is still lacking quite a bit, too, but I hope that the APIs are simple and straightforward enough to not make this carry too much weight. All in all the library could do with some (more) polish, but I'm not aware of any serious issues. As mentioned above, for now the project primarily (not to say exclusively) caters to my own needs. That doesn't mean it shouldn't evolve. I plan to maintain it for the foreseeable future and welcome comments or constructive criticism.

So, without any further ado head on over to the Git lab and take a look at the bencode project repository; the README seems like a good place to start your exploration. If you would rather see some code using the library, there's an example showing how to compute the infohash of a .torrent file.