A Blockchain aware countdown timer - rendered as a configurable image. Comes with its own webserver.
HTML Python CSS JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
daemon
docker
epydocs
fonts
static
tools
.gitignore
README.md
chaincountdown.py
config.py
helpers.py
imaging.py
imaging_tests.py
license-giveback-license-v05.txt
server.py

README.md

chaincountdown.py v14.1

Time estimation to targetblock of nxt/hz.

Image rendered at request. Comes with httpserver. Choose heading, fontsizes, fontface, colors.

Built for for the nxthacks voting, and beyond. Useful e.g. for voting, and phased transactions.

New:

  • Complete docker solution
  • incl. systemd autostart!
  • Adjusted to new faster NXT blockspeed.

shortversion

Put live-rendered image into any website.

example image
Is github making them static? Then here is the direct link:
http://altsheets.ddns.net:8888/nxt/10000000.png?heading=funfact:%2010%20mio%20nxtblocks

old example (all this was made for nxthacks2015 voting countdown)

This image is generated automatically, and always up-to-date:
http://altsheets.ddns.net:8888/nxt/495997.png?heading=nxthacks%20voting

The image can be placed into any webpage, like here:
http://altsheets.ddns.net/assetgraphs/

quickstart

python server.py

For dependencies, see the apt-get install part of the Dockerfile.

autostart

See the daemon/README-serverinstall.txt or use a docker image: ...

docker

See DockerHub and Dockerfile and docker/README.md.

Start the server manually:

docker run -p 8888:8888 -t -i altsheets/chaincountdown

Autostart as systemd service - for details see docker#start-with-systemd

wget https://raw.githubusercontent.com/altsheets/chaincountdown/master/docker/chaincountdown.service
sudo cp chaincountdown.service /etc/systemd/system
sudo systemctl enable /etc/systemd/system/chaincountdown.service
reboot

license

Placed under my giveback license v05. Please give generously. Thx.

manual

Much more infos, e.g. on how to choose better colors, sizes, font, etc:
http://altsheets.ddns.net:8888

TL;DR:

** A Blockchain aware countdown timer !**

shorturl for this: 2020.fm/ccd