justan / twei Goto Github PK
View Code? Open in Web Editor NEW微博命令行工具
Home Page: http://justan.github.com/twei/
License: MIT License
微博命令行工具
Home Page: http://justan.github.com/twei/
License: MIT License
命令行工具怎能没有参数补全?
*nix 下应该没有问题. windows 似乎没有有效的解决方案( powershell? ).
例如我需要update一句hello world,
我使用
$ twei update Hello World
它只发送了Hello
大部分微博都包含有图片, 是不是应该考虑做个图片预览?
在所有终端(真的终端, 终端模拟器, ssh 登录等..)中显示彩色似乎是不可能的. 类似 jp2a 将图片转成 ascii 图似乎不错
可以将”来自 twei”改成“来自 <自己的网站>"么?
没找到填写自己申请的API Key的地方……
unix 最重要的武器之一是 pipe(管道). 目前的 twei 很难和其他指令做管道操作.
比如查看最新的未读微博, 现在是这样操作:
twei remind
得到未读微博数量: "你有 6 条未读微博."twei timeline count=6
显示最新的未读微博如果能这样: twei remind --filter "status" | twei timeline --count
就方便多了
例如:
$ twei update "+1测试"
发出的微博为:
1K�
MacOSX 10.8:
twei --version
env: node\r: No such file or directory
用dos2unix工具将twei_cli.js转成unix格式后正常。
请将twei_cli.js的换行符转换成unix的格式。
很不错的工程,因为需要滚动显示,我就自己实现了一个比较土的,fakechris@7a6e2a4 ,因为太难看就不发pull request了。在修改代码时发现现在的接口想要扩展比较麻烦,解决方法最好是cmdMap.execute能够返回emitter事件,在外面能够挂handler灵活处理,供参考。
没找到LICENSE文件。这个以什么协议授权?
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.