Giter VIP home page Giter VIP logo

nostt's Introduction

nostt

(Ook in het Nederlands)

Command line NOS Teletekst reader for Unix-likes and Windows. Supports color and has an interactive mode.

nostt [page]

$ nostt 102
                      NOS Teletekst 102 
       N O S   B I N N E N L A N D      
                                        
 KNSB:woensdag marathon op natuurijs 104
 Discriminatiecursus uitzendbranche. 105
                                        
 Trouwen in gemeenschap goedkoper... 106
 Media geweerd bij oorlogsherdenking 107
                                        
 Baby Hannah terecht en ongedeerd... 108
 Lichaam vermiste Orlando gevonden.. 109
                                        
 Politiemol Mark M. meldt zich...... 110
 16-jarige vast voor liquidaties.... 111
                                        
 Mies Bouwman (88) overleden........ 112
 "Koningin van de tv overleden"..... 113
 Nederlandse olympiers gehuldigd.... 114
%%%%%%%%%%%%%% kort nieuws%%%%%%%%%%%%%%
 Treinverkeer A'dam kort ontregeld.. 121
 Vogelgriep op bedrijf in Groningen. 121
 Meisje mishandeld om hoofddoek..... 122
 Nederlandse skier (50) verongelukt. 122
   ticker 199              politie 147  
                      NOS Teletekst 102 

Description

Displays the requested NOS Teletekst page on the command line. Pages are identified by a three-digit number optionally followed by a subpage, for example 100 or 302-2. All subpages are printed if not specified.

If no page argument is given, nostt runs interactively.

See the manual page for more details: man nostt.

Known issues

Teletext's 6-cell (2x3) block characters are displayed as % characters as they cannot be accurately reproduced in a terinal without special fonts. (The NOS viewer and API uses a custom font with these characters in the "private use" 0xF000 Unicode range.)

Color output is disabled by default in MinTTY on Windows. This is because MinTTY redirects standard output. Set CLICOLOR_FORCE to 1 to force color output: env CLICOLOR_FORCE=1 nostt

Installation

Should work on Windows and any Unix, including Linux and macOS.

macOS with Homebrew from my tap:

brew install sjmulder/tap/nostt

NetBSD (and more, using pkgsrc):

pkg_add nostt

FreeBSD:

pkg install nostt

From source:

  1. Download and extract the source code of the latest release.

  2. Install the dependencies, e.g. on Debian or Ubuntu:

    sudo apt install build-essential libcurl4-openssl-dev libjson-c-dev
    
  3. In the source directory:

    make
    sudo make install
    

    See the Makefile for more options. Uninstall with sudo make uninstall.

Building on Windows is supported through MinGW. A CMake build file is also included for convenience.

Authors

Sijmen J. Mulder ([email protected])

nostt's People

Contributors

omar-polo avatar sjmulder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

appel tbvdm

nostt's Issues

HTML output in kleur

Ik heb je programma ontdekt, en gebruik het op een site voor prive piloten: https://www.vliegen.sietse.nl
Als je op die site op 'Toon' klikt krijg je onderaan de output van je nostt programma.

Hoe mooi zou het zijn als daar HTML kleuren in gebruikt worden?
Wellicht een switch voor de command line om aan te geven dat de output HTML moet zijn?

Sietse

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.