# palemoky/chinese-poetry-api

📜 诗泉：高性能中国古诗词 API 服务

Repository: https://github.com/palemoky/chinese-poetry-api
Canonical: https://ross.abutalabs.com/products/chinese-poetry-api
Homepage: https://poetry.palemoky.com
Language: Go
License: GPL-3.0
License Family: copyleft
Topics: api, chinese, graphql, poetry
Last push: 2026-08-24T21:51:59+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 79, longevity 19
- inputs: {"age_days": 268, "days_push": 9, "days_rel": 60, "gap_med": 34.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2690, forks 335 (observed 2026-08-28T04:07:10.800957+00:00)

## What it is
A high-performance Go-based API service serving nearly 400,000 classical Chinese poems (Tang, Song, Yuan, etc.) with both REST and GraphQL interfaces. It supports full-text search, filtering by author/dynasty/genre, random poem selection, and simplified/traditional Chinese conversion, deployable via Docker.

## Use cases
- fetch random classical Chinese poems for an app
- search Chinese poetry by keyword, author, or dynasty
- get Tang and Song dynasty poems via a free API
- serve simplified or traditional Chinese poem text
- build a poetry learning or quote-of-the-day feature
- practice web scraping against a public API
- self-host a Chinese literature data API

## When to choose
- you need a ready-made API of classical Chinese poetry with search and filtering
- you want both REST and GraphQL access to poem data
- you need simplified/traditional Chinese output from one service
- you want a Docker-deployable, self-hostable poetry API

## When to avoid
- you need modern Chinese or non-Chinese literature content
- you need a general-purpose full-text search engine rather than a poetry API
- you require permissive licensing for derivative products (GPL-3.0)
- you need poem translations or annotations

## Facets
- artifact type: service
- maturity: active
- function: api-framework, http-server, search-engine, graphql, web-scraping, rate-limiting
- domain: apis, education, self-hosted, web-development
- platform: go, self-hosted, cross-platform
- tags: chinese-poetry, classical-chinese-literature, rest-api, simplified-traditional-chinese, tang-poetry, song-ci, open-data, natural-language-processing, docker, web-server

## Member repositories
- palemoky/chinese-poetry-api (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:10.800957+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:16:35.404839+00:00, confidence not recorded.
  - readme: https://github.com/palemoky/chinese-poetry-api (fetched 2026-08-28T04:07:10.800957+00:00, sha 7589a480653d)
  - homepage: https://poetry.palemoky.com (fetched 2026-08-29T09:59:38.337201+00:00, sha 72dcfa88329f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
