GithubHelp home page GithubHelp logo

louixs / tsushin Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 4.54 MB

Übersicht widget : Dynamically updating line chart that shows total uploaded and downloaded data being transferred to your Mac in kB. Heavily inspired by the work of Dion Munk - network-throughput

Home Page: http://tracesof.net/uebersicht-widgets/#tsushin

License: MIT License

CoffeeScript 79.97% Shell 20.03%
ubersicht-widget highcharts realtime throughput macos monitoring chart

tsushin's Introduction

tsushin (通信)

Übersicht widget : Dynamically updating line chart that shows total up and down data being transferred to your Mac in kB. Heavily inspired by the work of Dion Munk - network-throughput

Regular version - tsushin.widget (400px x 250px)

alt text

Smaller version - tsushin_small.widget (200px x 50px)

alt text (Thanks to the feedback from Porco-Rosso)


In action (fast-forwarded): Regular version - tsushin.widget

alt text

Smaller version - tsushin_small.widget

alt text

How to use:

Just copy tsushin.widget folder to your Widgets Folder. Please let me know if you get error that says .bash_profile does not exists. To move the widget around modify the numbers in the style section in the tsushin.coffee file:

top: 10.6%
left: 10%

Regular and smaller versions included

There are two versions included. The regular version, tsushin.widget, has 400 px width and 250 px height by default. The smaller version has 200 px width and 50 px height by default. When scaling down the regular version below certain size it did not scale down properly. Smaller version has also adjusted font size and line width to match its scale.

You can still change the size of the chart area to your liking. To do so, modify the values of width and heights in the following code block in the render section: <div id="container" style="width:400px; height:250px;"></div>

How to read the graph:

Yellow line indicates the total amount of uploaded data at the given time. Blue line then is for the total of downloaded data at the given time.

Note:

This should work out of box just by placing tsushin.widget or tsushin_small.widget folder in your Widgets Folder. However if you entcounter any error, please let me know.

In case you want to know what tsushin means, it means communication in Japanese.

Todo:

  • review README.md and improve

Happy coding

tsushin's People

Contributors

celsius1414 avatar louixs avatar matrixfox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

matrixfox

tsushin's Issues

Incorrect Timezone

The small widget is displaying the incorrect timezone. It's 5 hours behind my time. I had to add useUTC: false to the xAxis to fix this.

    xAxis:
      type: 'datetime'
      dateTimeLabelFormats:
        hour: '%I :%p'
        minute: '%I:%M %p'
        useUTC: false
      #minTickInterval: 600

Small version

Hi,
Firstly great job with the widget! Looks great.

I'm trying to shrink the graph, to put it at the bottom of my screen, however I haven't been able to make it scale properly.
It seems there is not enough vertical space for the graph to plot correctly.

screen shot 2016-12-05 at 5 10 20 pm

Could you maybe point me in the right direction?

Stops after 24 hours?

Tsushin stops updating its onscreen graph after ±a day. The graph goes stagnant.

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.