# xenv/gushici

一言·古诗词 API (Hitokoto API)，随机返回一条古诗词名句。采用  Vert.x + Redis 全异步开发，毫秒级稳定响应。

Repository: https://github.com/xenv/gushici
Canonical: https://ross.abutalabs.com/products/gushici
Homepage: https://gushi.ci
Language: Java
License: GPL-3.0
License Family: copyleft
Topics: hitokoto, vertx, api
Last push: 2022-02-11T00:32:56+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2950, "days_push": 1665, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1389, forks 154 (observed 2026-08-28T04:04:35.494887+00:00)

## What it is
A self-hostable random Chinese classical poetry quote API ('Hitokoto') built with Vert.x and Redis, returning quotes as SVG, PNG, TXT, or JSON. It supports category-based filtering and millisecond-level async responses.

## Use cases
- display a random chinese poem quote on my blog
- get a random poetry line as  for my app
- embed a poetry quote image in a forum signature
- fetch classical chinese quotes by category
- self-host a poetry quote api
- get a poetry sentence as svg for a website banner

## When to choose
- you need a lightweight random Chinese poetry quote endpoint in multiple formats (svg/png/txt/)
- you want to self-host the service with your own collected poetry data
- you need millisecond-level responses backed by Redis and fully async Vert.x

## When to avoid
- you need smart context-aware recommendations (location, weather, season) - use the closed-source jinrishici v2 API instead
- you need a general-purpose quote API beyond classical Chinese poetry
- you want a maintained library or SDK rather than a deployable service

## Facets
- artifact type: service
- maturity: maintenance
- function: http-server, api-framework, caching
- domain: apis, web-development
- platform: jvm, self-hosted
- tags: chinese-poetry, hitokoto, vertx, random-quote-api, redis, svg, -api, natural-language-processing, web-server

## Member repositories
- xenv/gushici (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.494887+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-30T04:39:44.357457+00:00, confidence not recorded.
  - readme: https://github.com/xenv/gushici (fetched 2026-08-28T04:04:35.494887+00:00, sha 56b291c9b9bf)
  - homepage: https://gushi.ci (fetched 2026-08-29T11:54:55.849541+00:00, sha cfb3c4605325)
- Data as of 2026-08-30T08:39:29.467469+00:00.
