foss-np / batti

:bulb: load-shedding schedule for terminal!
Other
19 stars 12 forks source link

+TITLE: batti

+DATE: Monday, Mar 14 2016

+OPTIONS: num:t

+STARTUP: showall

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 [[http://www.nea.org.np/loadshedding.html][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]]

[[Creative Commons Attribution 3.0 Unported License][file:http://i.creativecommons.org/l/by/3.0/88x31.png]]

batti Copyright © 2016 to the batti authors.

** Ubuntu add repo into /etc/apt/sources.list

+BEGIN_SRC bash

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

+END_SRC

*** Building deb

+BEGIN_SRC bash

  $ make deb
#+END_SRC

:TIP:  see make recipies

Windows Currently there is no automated method, please follow Manual section. OS/X

BSD sed will might work

** Manual ** Requirement | | linux | OS/X | ms-windows | |------------+---------------+------+---------------| | bash | bash | | git-bash/migw | | GNU sed | sed | | gnu32 | | wget | wget | | wget | | pdftotext | poppler-utils | | poppler-utils | | python 2/3 | python | | python 3 |

* BSD sed might not work

=configure= will check the dependencies

**** Optional Dependencies

 - [[https://github.com/foss-np/2utf8][2utf8]] old dependencies

*** Download Download the latest verion from [[https://github.com/foss-np/batti/archive/master.zip][zip]] or [[https://github.com/foss-np/batti/archive/master.tar.gz][tar]], clone the repo.

#+begin_src bash
  $ cd path-to-batti
  $ ./configure
  $ sudo make install
#+end_src

** 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

+BEGIN_SRC bash

 $ ./configure
 $ make droid
 $ git branch droid

+END_SRC

** Similar works on github we found!