Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 2.06 KB

README.md

File metadata and controls

62 lines (41 loc) · 2.06 KB

F-Secure Virus World Map console version

Note: The virus feed stopped in 2020. This fork uses local json file as a demo replay. It is a good sample of data visualization with global scale via console.

REF: https://web.archive.org/web/20141124231452/http://worldmap3.f-secure.com/api/stream/wm3stream.json

Copyright 2012-2013 Jyrki Muukkonen

Released under the MIT license. See LICENSE.txt or http://www.opensource.org/licenses/mit-license.php

ASCII map in map-world-01.txt is copyright: "Map 1998 Matthew Thomas. Freely usable as long as this line is included"

Based on (semi)public F-Secure Virus World Map 3 JSON feed.

This small piece of software was originally done only for demonstrating how the data could be used. There are no guarantees whatsoever that the live stream stays accessible nor that the information is accurate in any way.

Usage

Usually just:

./wm3con.py

In case of encoding / curses bugs:

LC_CTYPE=C ./wm3con.py

Cool ways to use this

  • Live bootable ISO / USB image. Proof of concept using Debian Live exists. Generally automatic network works, but there are some issues with live-build itself and with various screen configurations.
  • Running inside Cathode Vintage Terminal app on OSX. There might be some videos in the internets.
  • Running with a real VT100 or something :)
  • Instructions and/or videos for these might appear here later
  • Lab screen running the live version

Screenshots

Early version running inside Cathode terminal app

Notes / TODO

  • it will crash if you resize your terminal to be too small
  • map zoom levels could be supported, but then the coordinate calc logic needs some modifications (now it assumes that whole world is visible)
  • there are some drawing bugs on unicode location names, even with libncursesw
  • should use optparse/argparse/argh for parameter parsing