8000 GitHub - Fildor/InternetTime: Just a little not-too-serious Funproject to print the InternetTime in as many programming languages as possible (while keeping it fun).
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Just a little not-too-serious Funproject to print the InternetTime in as many programming languages as possible (while keeping it fun).

Notifications You must be signed in to change notification settings

Fildor/InternetTime

Repository files navigation

InternetTime

Just a fun little project to play around with different programming languages.

Each sub-project is tasked with simply printing the current Internet Time (aka "Swatch .Beats") to StdOut.

Internet Time a.k.a Swatch Beats

Internet Time devides the day into 1000 "beats" and always refers to Biel Mean Time, which is UTC+01:00 without daylight savings.

Its value is computed by taking the utc day's total seconds, add one hour, modulo by 24 hours and devide by 86.4.

Sub Projects

Currently, there are projects in

  • C
  • C#/NET Core 3.1
  • C#/NET 6
  • Python
  • Rust
  • Go
  • Lua
  • POSIX Shell Script
  • Fish Shell Script
  • Zig

and I would be happy to add more to the list.

Roadmap

  • Improve current implementations
  • Improve READMEs
  • Add Languages
  • Add Install-Scripts (?)

Usage

What am I doing this for? - Well, long story short: I wanted Internet Time in my i3blocks, so I wrote it. Then I thought: "Why not do this in as many languages as I possibly can?" and here we are.

Meanwhile, I also used those in PolyBar and Conky.

For what you may use it is up to you.

License

This code is far from being rocket science and anyone could have come up with it (or better versions). So: Do as you please with it.

Code of conduct

  • No compelled speech
  • No politics, no religion
  • Don't be an A**

About

Just a little not-too-serious Funproject to print the InternetTime in as many programming languages as possible (while keeping it fun).

Resources

Stars

Watchers

Forks

0