Skip to content

foss-np/batti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

batti

NOTE FROM MAINTAINER: I have stop working on this, anyone is most welcome to Pick it up

Load-shedding information used to be completely written in bash until the blockade started. It downloads and extract schedule form nea as and processes your query.

Hoping you will never need these kinda thing.

https://raw.github.com/foss-np/batti/gh-pages/images/screenshot.png

http://i.creativecommons.org/l/by/3.0/88x31.png

batti Copyright © 2016 to the batti authors.

1 Installation

1.1 Arch

yaourt batti-git

1.2 Ubuntu

add repo into `/etc/apt/sources.list`

$ echo deb http://foss-np.github.io/deb-packages >> /etc/apt/sources.list
$ sudo apt-get update
$ sudo apt-get install batti

1.2.1 Building deb

$ make deb

1.3 Windows

Currently there is no automated method, please follow Manual section.

1.4 OS/X

BSD sed will might work

1.5 Manual

1.5.1 Requirement

linuxOS/Xms-windows
bashbashgit-bash/migw
GNU sed*sedgnu32
wgetwgetwget
pdftotextpoppler-utilspoppler-utils
python 2/3pythonpython 3
  • BSD sed might not work

configure will check the dependencies

1.5.1.1 Optional Dependencies

1.5.2 Download

Download the latest verion from zip or tar, clone the repo.

$ cd path-to-batti
$ ./configure
$ sudo make install

2 Usage

$ batti -h
  Usage:  batti [OPTIONS] [GROUP_NO]
          -a | --all      Show All [default]
          -w | --week     Show weeks schedule
          -t | --today    Show todays schedule
          -g | --group    Group number 1-7
          -u | --update   Check for update
          -p | --previous Show previous schedule
          -d | --dump     Dump raw schedule data
          -x | --xml      Dump shedule to xml
          -c | --credits  Display the Credits
          -h | --help     Display this information
          -v | --version  Version information

3 Beyond Terminal

3.1 conky

batti is written to be use in terminal, but using conky you can easily make the desktop widget showing information.

3.2 android

Yes, android is linux and supports bash.

NOTE:    we got frustrated from so call that app…

CURRENTLY THERE IS NO APK, you should run it from terminal

$ ./configure
$ make droid
$ git branch droid

4 Others

charge-khattam
Python tkinter GUI wrapper.
Nepal-Loadshedding-Indicator
The applet for unity

4.1 Similar works on github we found!