Skip to content

altsheets/chaincountdown

Repository files navigation

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

About

A Blockchain aware countdown timer - rendered as a configurable image. Comes with its own webserver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published