Giter VIP home page Giter VIP logo

release-countdown's Introduction

MIT License Language Count Top Language Code Size Repo Size

Manu's Release Countdown

This is a small script that implements a release countdown in pure HTML, CSS and JS.
It should work on all modern browsers (tested on MacOS Firefox/Chrome/Safari, iOS Safari & Android Firefox/Chrome)

License: MIT (except the logos at the bottom left and right)

Screenshot Dark Version Countdown in dark mode

Screenshot Dark Version Countdown in light mode

You can see it in action at https://countdown.devsvr.ws - no tracking is happening there (I have disabled all logs on the server side).
Website Status Security Headers

Beside date and time when the countdown should be over you can customize the name of the release (the "next release" is the part that is then replaced with your text) and the text that is displayed once the countdown reached zero.

Development and Building

First you need to clone this repo and then run npm install. After that you can:

  • run npm run start to run the version in the webpack dev server (browser opens automatically)
  • run npm run build to generate a deployable version in the dist folder

To consider when deploying your own version

The whole code is available for re-use (MIT License), but the MF-circuit-board logo at the bottom left is my personal "brand". It is up to you if you want to remove the MF-circuit-board logo and the link to this repo in your deployments, but keeping it would be highly appreciated. You are not allowed to use that logo at other places though.

Third party stuff

The included font is from Google Fonts and part of this repo to have a full deployment from this place possible - and without loading any elements from third party servers. I have a complete download for teh case I want to use more font-weights and maybe italic in teh web-app at one point in time.

release-countdown's People

Contributors

manuelfeller avatar

Stargazers

gerardcl avatar Roman Hossain Shaon avatar Jan Deppisch avatar

Watchers

Jan Deppisch avatar  avatar

release-countdown's Issues

Improve Countdown View Layout

In some edge cases there are still unwanted effects:

  • in portrait mode on phones you have a very small footer bar
  • in a very narrow landscape the message of a finished countdown overflows

"wissing date" typo

When trying to start a countdown without date the text in the alert has a typo

Improve Setting UI

  • make better use of the space with a flex layout
  • add theme into it
  • make sure it can scroll inside of the main page container to avoid wired looking effects in combination with the 100% background

Toggle Dark Mode

Make the selection between light and dark mode theme toggleable

Add offline support

add a service-worker to make sure that the app is also loaded properly when the users is offline

No HTML sanitisation/escaping

The settings dialog doesn't sanitise input strings, i.e. any HTML entered into the fields will happily be interpreted (try, e.g. adding <b>, <img> etc.

Create a configurable build tool

To allow that you can choose what themes should be included, what features (configurable time or not), ... you should have a build system that compiles the desired features

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.