tangshi

0.0.2 • Public • Published

tangshi

Are you want to read tangshi in your command line? Now you can do this ..

install

npm install -g tangshi

usage

Usage: tangshi [options]

  Options:

    -h, --help               output usage information
    -V, --version            output the version number
    -a, --author [author]    poetry by the author
    -t, --title [title]      the title of the poetry
    -s, --search [search]    search the title
    -c, --content [content]  search the content
    --authors                list all the authors
    --poetries               list all the poetries

example

$ tangshi -t 静夜思

静夜思 李白
床前看月光,疑是地上霜。举头望山月,低头思故乡。

$ tangshi -c 举头望

静夜思 李白
床前看月光,疑是地上霜。举头望山月,低头思故乡。


别韦参军 高适
二十解书剑,西游长安城。举头望君门,屈指取公卿。
国风冲融迈三五,朝廷欢乐弥寰宇。白璧皆言赐近臣,
布衣不得干明主。归来洛阳无负郭,东过梁宋非吾土。
兔苑为农岁不登,雁池垂钓心长苦。世人遇我同众人,
唯君于我最相亲。且喜百年有交态,未尝一日辞家贫。
弹棋击筑白日晚,纵酒高歌杨柳春。欢娱未尽分散去,
使我惆怅惊心神。丈夫不作儿女别,临歧涕泪沾衣巾。


下第寄知己 曹邺
长安孟春至,枯树花亦发。忧人此时心,冷若松上雪。
自知才不堪,岂敢频泣血。所痛无罪者,明时屡遭刖。
故山秋草多,一卷成古辙。夜来远心起,梦见潇湘月。
大贤冠盖高,何事怜屑屑。不令伤弓鸟,日暮飞向越。
闻知感激语,胸中如有物。举头望青天,白日头上没。
归来通济里,开户山鼠出。中庭广寂寥,但见薇与蕨。
无虑数尺躯,委作泉下骨。唯愁揽清镜,不见昨日发。
愿怜闺中女,晚嫁唯守节。勿惜四座言,女巧难自说。

Readme

Keywords

none

Package Sidebar

Install

npm i tangshi

Weekly Downloads

1

Version

0.0.2

License

none

Last publish

Collaborators

  • lyuehh