• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language
    JavaScript
  • Created about 9 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Telnet server for wikipedia content

Wikipedia Telnet Server

NPM

Sometime, browsing over http/https is just too insecure. For those times when you must absolutely guarantee no executable code will be served to you, we present:

Wikipedia via telnet.

Uses the nice mw-ocg-texter package to do pleasant Unicode rendering of Wikipedia content, via the Wikipedia REST API.

Based on the gist by Ori Livneh at https://gist.github.com/atdt/4037228

Installation

To install the binary, use:

npm install -g wikipedia-telnet

Or else for local development, install the node package dependencies with:

npm install

Running

Start a telnet server on port 1081:

$ wikipedia-telnet 1081

If developing locally, use:

$ node index.js 1081

Sample session:

$ telnet localhost 1081
Trying ::1...
Connected to skiffserv.dyndns.org.
Escape character is '^]'.
                         ,'"/      ,^.___.--./`.
                       ,' ;"     ,-`     '-.  m `.
                      /v\./      \,.  __  (   _  ,^.
                     / .  `;      .J (  )__\,- `~' '.
                    /_ ' /"      _|___)     )    g  \
                   ;_':_|___  ,-' \        (_,.   _ |.
                   |    |  (__) ,-'   W  __    \,' L'|
                   |  ,-'    _  \_,.    (  |_,-"\_   |
                   |  `"}  _( )_    \   _|   .   _)  |
                   |^\__|____  __,--+--'   |/|  (   /|
                   '.   |   (__)    \_,-.  '     \,'\;
                    \ n `.-.  , /,    _,'  ,")_,-\  /
                     \_. ;-'  * #    (   __)   ,-' /
                      `\-+,.._   _,---\-'   q  "},'
                        `.'\  (__)  ,-->   _,..,'
                          `.L .  ~  '-[:>.' _,"
                             '--.<=L=:_,-=-'
                   _ _ _   _  _ _  __   ___  __     __
                   | | | | |_/  | |__) |___ |  \ | |__|
                   |_|_| | | \_ | |    |___ |__/ | |  |
                          The Free Encyclopedia
--------------------------------------------------------------------------
Version 1.26                    15 Sep 2015                  122,548 Users
--------------------------------------------------------------------------
                            MotD last updated: 08:12 PM September 15, 2015

Welcome to Wikipedia!  We are the world's largest community driven dial-in
hypertext encyclopedia with over 4.9 million articles in English.

-------------------------------
  C O M M U N I T Y   N E W S
-------------------------------
Type "WP:SIGNPOST" at the prompt to read more.

- Gallery: Being Welsh
- Op-ed: DYK, or proudly displaying incorrect information on the Main Page
  with alarming regularity
- News and notes: The Swedish Wikipedia's controversial two-millionth
  article
- In the media: Calling all scientists!; More Wikipedia editors in the
  Netherlands than all of Africa combined
- Featured content: Killed by flying debris
- Traffic report: Mass media production traffic
- Technology report: Tech news in brief

-------------------------------
     O T H E R   A R E A S
-------------------------------

Featured article of the day:
 * Bill Denny

Be sure to check out some of our sister projects:
 * Wikisource                                 Type: "use en.wikisource.org"
   - Our digital book library
 * Wiktionary                                 Type: "use en.wiktionary.org"
   - A powerful multilingual dictionary
 * Wikiquote                                  Type: "use en.wikiquote.org"
   - Up-to-date compilations of quotes
 * Wikimedia Commons                          Type: "use commons.wikimedia.org"
   - An extensive online multimedia archive

-------------------------------
      S U P P O R T   U S
-------------------------------

* Learn how to edit: type "WP:CTW" at the prompt.
* Find out how to support us: type "WP:FUND" at the prompt.

Type an article name to read an article.
Type "use xx.wikipedia.org" to switch projects.
Type "quit" to exit.


>>> telnet
telnet

Not to be confused with Telenet.

Telnet is a session layer protocol used on the Internet or local area
networks to provide a bidirectional interactive text-oriented communication
facility using a virtual terminal connection. User data is interspersed
in-band with Telnet control information in an 8-bit byte oriented data
connection over the Transmission Control Protocol (TCP).

[...]
>>> use es.wikipedia.org
Using es.wikipedia.org for future articles.

>>> telnet
telnet

Telnet (Telecommunication Network¹ ) es el nombre de un protocolo de red
que nos permite viajar a otra máquina para manejarla remotamente como si
estuviéramos sentados delante de ella. También es el nombre del programa
informático que implementa el cliente. Para que la conexión funcione, como
en todos los servicios de Internet, la máquina a la que se acceda debe
tener un programa especial que reciba y gestione las conexiones. El puerto
que se utiliza generalmente es el 23.

[...]
>>> use en.wiktionary.org
Using en.wiktionary.org for future articles.

>>> telnet
telnet

English

Pronunciation

-

Etymology

telecommunication network

Alternative forms

- Telnet
- TELNET

Noun

Wikipedia

telnet ‎(uncountable)

- (computing) A network protocol that enables one computer to communicate
  with another via the Internet; the program that acts as the client in
  this situation

Verb

telnet ‎(third-person singular simple present telnets, present participle
telnetting or telneting, simple past and past participle telnetted or
telneted)

- (computing, intransitive) To use such a program to make such a connection

Anagrams

- letten
- nettle


>>> quit
Bye!
Connection closed by foreign host.

License

Copyright (c) 2015 C. Scott Ananian

Licensed under AGPLv3.

More Repositories

1

compressjs

Pure JavaScript de/compression (bzip2, etc) for node.js, volo, and the browser.
JavaScript
341
star
2

prfun

Helper functions for ES6 promises
JavaScript
64
star
3

TurtleScript

Programming Environment for Simplified JavaScript
JavaScript
41
star
4

node-php-embed

Bidirectional interoperability between PHP and JavaScript code within the Node.js process.
C++
35
star
5

node-pn

The Promised Node -- a package which promisifies the node standard library.
JavaScript
26
star
6

node-random-name

Generate random (or seeded) names, based on 1990 Census data.
JavaScript
21
star
7

lzjb

A fast pure JavaScript implementation of LZJB compression/decompression.
JavaScript
20
star
8

rusty-turtle

A TurtleScript interpreter written in Rust.
Rust
16
star
9

xorduino

XOrduino -- an arduino leonardo/scratch sensor board mash up
15
star
10

node-icu-bidi

Node bindings to the ICU (53) Unicode BiDi algorithm
C++
15
star
11

3d-melltorp

Enclosure for 3d printer based on IKEA Melltorp tables
OpenSCAD
11
star
12

watchy-co2-pcb

Simple PCB to mount the Sensirion SCD40 CO2 sensor next to Watchy
10
star
13

nell-colors

A drawing/handwriting-recognition activity for Project Nell.
JavaScript
9
star
14

xostick

Open Hardware design for a simple USB hardware device for the OLPC XO
Eagle
9
star
15

X1CarbonGen10

Keyboard with Trackpoint for Framework 16 laptop: hardware design
Python
9
star
16

JDoctest

JDoctest is an implementation of Python's doctest for Java.
Java
8
star
17

Harpoon

The FLEX Java compiler infrastructure
Java
8
star
18

mediawiki-extensions-togetherjs

A mediawiki extension to incorporate real time collaboration using Mozilla's TowTruck project.
JavaScript
8
star
19

intent-addon

Plugin for Firefox/Android which exposes a web api for sending Android Intents.
JavaScript
7
star
20

node-libzim

Node bindings to libzim (ZIM file read/write library from OpenZIM project)
C++
7
star
21

instaview

A Mediawiki to HTML converter in JavaScript; packaged for node and volo.
JavaScript
7
star
22

TouchpadSpacerFW16

Touchpad Input Module parts for the Framework 16 laptop
7
star
23

nelldemo

Demo of Nell OLPC XO-3 interface ideas
JavaScript
4
star
24

babybird

A slimmed down Promise implementation, built for speed.
JavaScript
4
star
25

nell-wikipedia

Nell's Wikipedia: an offline wikipedia browser for learning literacy
JavaScript
3
star
26

SDR

Square Dance Revolution: square dance caller game (and choreography tool)
Java
3
star
27

jutter

JavaScript/WebGL reimplementation of Clutter
JavaScript
3
star
28

LiveMusic

Music arrangements for square dancing
Rouge
3
star
29

android-launcher2

Clone of https://android.googlesource.com/platform/packages/apps/Launcher2
Java
3
star
30

lua-turtle

TurtleScript interpreter in lua
Lua
3
star
31

nell-hand

Handwriting Recognition for Nell
JavaScript
3
star
32

nell-paper-idc12

LaTeX sources for IDC 2012 conference paper on Project Nell.
3
star
33

npm-travis

Trigger travis tests with `npm run travis`
JavaScript
3
star
34

texvcjs

A LaTeX validator/translator for TeX strings embedded in wikitext
JavaScript
3
star
35

3d-multimaterial

Direct-drive multi-material printing using Printrbot extruders
OpenSCAD
2
star
36

meteor-hubot

Meteor wrapper for the npm `hubot` package.
JavaScript
2
star
37

asterism

Jessica and Scott Wedding Website
JavaScript
2
star
38

wonchi-2012-05-15

Data crunching scripts for 2012-05-15 Wonchi data dump
JavaScript
2
star
39

nell-balloons

Balloons for Nell -- a simple matching game for Nell/the Literacy Project
JavaScript
2
star
40

jsdoc-wmf-theme

Theme for jsdoc following the Wikimedia Style Guide
JavaScript
2
star
41

open-town-meeting

2
star
42

node-mediawiki-express

An installation of mediawiki invoked from node.js/express.
JavaScript
2
star
43

watchy-co2-case

Case for Watchy extended with a Sensirion SCD40 CO2 sensor
Python
2
star
44

ExternalEnclosureFW16

Design files for an external enclosure for Framework 16 Input Modules
2
star
45

caterpillars

C
1
star
46

mstone-essays

Copy of mstone's essays, for comments & review
1
star
47

WebIDL

WebIDL parser for PHP
PHP
1
star
48

wikimania18-forkmerge-poster

Sources for my "Edit Conflicts, Offline Contributions, and Tor" poster for Wikimania 2018 in Cape Town
TeX
1
star
49

maker-day-kit

Schematics and PCB layout for kits for Brookline Public School's 1st Maker Day
C++
1
star
50

sechs

Sechs is a stripped-down replacement for funf.
Java
1
star
51

mw-ocg-bundler.old

Mediawiki article spider tool.
JavaScript
1
star
52

pebble-flipped-bits

Flipped version of "Just a Bit" watchface for Pebble
C
1
star
53

StringMaze

2010 Mystery Hunt code
1
star
54

offline-wiki

Offline Wikipedia browser/reader, as a web app.
JavaScript
1
star
55

pippy-examples

Python programming examples, translated from C64 user's guide
1
star
56

JUtil

JUtil is a fully-parameterized (generic) collections library for Java.
Java
1
star
57

SevenSegmentInputModule

7-segment display input module for Framework 16
Python
1
star
58

OpenEVSE_Keypad_RFID

Capacitive Keypad and RFID for OpenEVSE: Hardware
C++
1
star