GithubHelp home page GithubHelp logo

altsheets / chaincountdown Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 3.75 MB

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

License: Other

Python 4.63% HTML 90.64% CSS 2.81% Shell 0.30% JavaScript 1.62%

chaincountdown's Introduction

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

chaincountdown's People

Contributors

altsheets avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.