cscott / wikipedia-telnet Goto Github PK
View Code? Open in Web Editor NEWTelnet server for wikipedia content
Telnet server for wikipedia content
we are in China, you know...
Install failed due to:
npm ERR! Linux 4.4.0-109-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs sqlite3
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/wikipedia-telnet/npm-debug.log
If you help me, I'd be appreciated.
Sending Ctrl-Z from the client side causes the server to suspend, better user input handling is needed for stability/security
You should run this as a hidden service :)
Where's the .onion
?
We should regenerate the logoP once a day in order to get the latest signpost, etc.
My favorite feature of Wikipedia is "Random Article", accessible by https://en.wikipedia.org/wiki/Special:Random
>>> Special:Random
Sorry! Could not fetch "Special:Random" for you.
No worries. There are lots of other pages to read.
Pick a different title.
We should do one last prefix search before fetching the page, and use the one with the proper case if it exists.
Should we emit ANSI escapes for colorizing text?
We could use a better link navigation mechanism.
I am using this from my BBS, most BBS terminal software does not have built in scrollback, a cmdline arg to enable paging after N lines would be good
Steps to reproduce:
$ telnet telnet.wmflabs.org
Expected results:
cool ASCII art logo and informative stuff
Actual results:
Trying 208.80.155.160...
telnet: connect to address 208.80.155.160: Connection refused
telnet: Unable to connect to remote host
"-{}-" is used to convert many varients of Chinese, including traditional Chinese (zh-hant) and simplified Chinese (zh-hans), in some wikis like zhwiki.
Example: -{zh-hans:测试;zh-hant:測試}-
It is shown as "测试" for traditional Chinese user, and shown as "測試" for simplified Chinese user.
There are some projects to process it:
A single conversion mark may not greatly affect the article. However, some articles with a general conversion table (at subpages of Template:CGroup / Module:CGroup, included by Template:NoteTA) will add much useless data (for human readers).
Example article: Wiki
More at here.
It may be a large project, with following updates:
So we can see if enough folks use this over time to make supporting it worthwhile.
That would greatly help interactive use. q
at the prompt to quit the pager, of course.
Reported at https://news.ycombinator.com/item?id=11405187
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.