hitokoto

Crates.iohitokoto
lib.rshitokoto
version0.7.2
created_at2025-01-09 11:45:32.026731+00
updated_at2025-08-06 17:55:10.762134+00
description一言 https://hitokoto.cn/.
homepage
repositoryhttps://github.com/xuxiaocheng0201/hitokoto/
max_upload_size
id1509856
size136,885
XuXiaoCheng (xuxiaocheng0201)

documentation

https://docs.rs/hitokoto/

README

Hitokoto

Crate GitHub last commit GitHub issues GitHub pull requests

Description

关于一言

动漫也好、小说也好、网络也好,不论在哪里,我们总会看到有那么一两个句子能穿透你的心。我们把这些句子汇聚起来,形成一言网络,以传递更多的感动。如果可以,我们希望我们没有停止服务的那一天。

简单来说,一言指的就是一句话,可以是动漫中的台词,也可以是网络上的各种小段子。 或是感动,或是开心,有或是单纯的回忆。来到这里,留下你所喜欢的那一句句话,与大家分享,这就是一言存在的目的。

Features

  1. 构建时自动下载并捆绑所有一言,最新版本可在 Github 中查看 Tags
  2. 支持随机选择,与访问 https://v1.hitokoto.cn/?c= 相同 (需要 random feature,默认开启)
  3. 在 API 的基础上扩展支持了语言,使用 lingua 库在构建时自动识别 (需要 languagelanguage-full feature)
  4. 支持 no_std
  5. 支持 wasm32-wasip1
Commit count: 43

cargo fmt