chinese-poetry logo

chinese-poetry

github.com/chinese-poetry/chinese-poetry

The most comprehensive database of Chinese poetry 最全中华古诗词数据库, 唐宋两朝近一万四千古诗人, 接近5.5万首唐诗加26万宋诗. 两宋时期1564位词人,21050首词。

git clone https://github.com/chinese-poetry/chinese-poetry
Stars
55k
Rank in field
Top 9%#45 of 546 by stars
Forks
…
Open issues
…
Contributors
…
Language
JavaScript
License
MIT
Last push
17 Jun 2026

What is chinese-poetry?

chinese-poetry is a comprehensive open-source database of Chinese classical poetry distributed in JSON format. It contains approximately 55,000 Tang poems, 260,000 Song poems, 21,000 Song ci lyrics, and additional collections like the Analects, Book of Songs, and Nalan Xingde poems. The data covers nearly 14,000 Tang and Song dynasty poets and 1,500 Song ci poets, sourced from internet archives and formatted for developer use.

Install & use

Install
git clone https://github.com/chinese-poetry/chinese-poetry.git
Usage
# open chinese-poetry/chinese-poetry and follow its README

chinese-poetry/chinese-poetry is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.

Features

  • 55,000 Tang poems in JSON
  • 260,000 Song poems in JSON
  • 21,000 Song ci lyrics with rhythmic patterns
  • Additional classical texts: Analects, Book of Songs, Four Books Five Classics
  • Frequency analysis charts for poems and authors
  • MIT licensed with community contribution workflow

Best for

  • Building poetry applications and websites
  • Training NLP models for classical Chinese
  • Academic research on Chinese literature
  • Creating educational tools for poetry study

Pros

  • Largest open Chinese poetry dataset in structured JSON
  • Covers major dynasties and poetic forms
  • Active community maintenance and error correction
  • Free MIT license for commercial and non-commercial use

Cons

  • Data sourced from internet without full provenance tracking
  • Scraping process faced interruptions and site limitations
  • Some controversial entries require community voting for inclusion

Stars over time