{"id":21077715,"url":"https://github.com/howie6879/owllook_api","last_synced_at":"2026-03-05T03:31:43.146Z","repository":{"id":79651221,"uuid":"139133969","full_name":"howie6879/owllook_api","owner":"howie6879","description":"owllook - 简洁优雅的小说API🎉","archived":false,"fork":false,"pushed_at":"2018-07-03T03:53:11.000Z","size":14,"stargazers_count":131,"open_issues_count":0,"forks_count":45,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-16T08:43:29.707Z","etag":null,"topics":["api","gin","novel","owllook"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/howie6879.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-29T10:05:08.000Z","updated_at":"2025-04-09T20:09:25.000Z","dependencies_parsed_at":"2023-05-14T09:15:44.215Z","dependency_job_id":null,"html_url":"https://github.com/howie6879/owllook_api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/howie6879/owllook_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howie6879%2Fowllook_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howie6879%2Fowllook_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howie6879%2Fowllook_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howie6879%2Fowllook_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/howie6879","download_url":"https://codeload.github.com/howie6879/owllook_api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howie6879%2Fowllook_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30108617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:39:18.192Z","status":"online","status_checked_at":"2026-03-05T02:00:06.710Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","gin","novel","owllook"],"created_at":"2024-11-19T19:38:01.268Z","updated_at":"2026-03-05T03:31:43.129Z","avatar_url":"https://github.com/howie6879.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## owllook小说接口\n\n[![GitHub release](https://img.shields.io/github/release/howie6879/owllook_api.svg)](https://github.com/howie6879/owllook_api/releases) [![Github All Releases](https://img.shields.io/github/downloads/howie6879/owllook_api/total.svg)](https://github.com/howie6879/owllook_api/releases) [![license](https://img.shields.io/github/license/howie6879/owllook_api.svg)](https://github.com/howie6879/owllook_api/blob/master/LICENSE)\n\n本项目提供优雅的小说接口，其他衍生项目如下：\n\n- 公众号：[**粮草小说**](http://oe7yjec8x.bkt.clouddn.com/howie/2018-03-13-%E7%B2%AE%E8%8D%89%E5%B0%8F%E8%AF%B4.jpg-blog.howie)，有兴趣的话可以关注下\n- 官网：[https://www.owllook.net](https://www.owllook.net)\n- 监控工具：[owllook_gui](https://github.com/howie6879/owllook_gui)\n\n### Overview\n\n[owllook](https://github.com/howie6879/owllook)是一个基于其他搜索引擎构建的垂直小说搜索引擎，owllook目的是让阅读更简单、优雅，让每位读者都有舒适的阅读体验，有朋友有兴趣开发owllook的app端，于是此项目便诞生了，本项目提供小说的一系列接口，如检索、目录、章节内容、检查更新\n\n#### Installation\n\n`owllook_api`基于[gin](https://github.com/gin-gonic/gin)，提供了一系列基本的小说接口，使用：\n\n``` shell\ngit clone https://github.com/howie6879/owllook_api\ncd owllook_api\n\ngo get -u github.com/kardianos/govendor\ngovendor sync\ngo run main.go\n\n# 编译\nCGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ./release/owllook_api.mac\nCGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build  -o ./release/owllook_api.linux\nCGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ./release/owllook_api.exe\n```\n\n#### API\n\n小说资源说明：\n\n本项目利用了互联网上的一些小说资源作为检索目标进行资源提取，定义如下，100以后的命名定位第三方检索：\n\n| 名称 | 编号     |搜索类型\t\t|\n| :--- | -------- | ----------- |\n| 10   | 笔趣阁   | 站内\t\t|\n| 100  | 新笔趣阁 |\t百度第三方  |\n| 110  | 笔下文学 | 百度第三方  |\n| 120  | 顶点小说 | 百度第三方  |\n\n**搜索小说：**\n\n格式：/v1/novels/:name/:source\n\n请求：\n\n``` shell\n# 请求资源为10下小说牧神记的检索结果\ncurl http://0.0.0.0:8080/v1/novels/牧神记/10\n```\n\n响应：\n\n``` json\n{\n    \"info\": [\n        {\n            \"novel_abstract\": \"大墟的祖训说，天黑，别出门。大墟残老村的老弱病残们从江边捡到了一个婴儿，取名秦牧，含辛茹苦将他养大。这一天夜幕降临，……\",\n            \"novel_author\": \"作者：宅猪\",\n            \"novel_cover\": \"https://www.bqg99.cc/bookimages/2640967.jpg\",\n            \"novel_latest_chapter_name\": \"第七百九十二章 道一（月底求月票）\",\n            \"novel_latest_chapter_url\": \"https://www.bqg99.cc/book/2639610/595030666.html\",\n            \"novel_name\": \"牧神记\",\n            \"novel_type\": \"分类：玄幻\",\n            \"novel_url\": \"https://www.bqg99.cc/book/2639610/\",\n            \"source_name\": \"笔趣阁01\",\n            \"source_url\": \"https://www.bqg99.cc/\"\n        }\n    ],\n    \"status\": 1\n}\n```\n\n**搜索作者：**\n\n格式：/v1/authors/:name/:source\n\n请求：\n\n``` shell\ncurl http://0.0.0.0:8080/v1/authors/猫腻/10\n```\n\n响应：\n\n``` json\n{\n    \"info\": [\n        {\n            \"novel_abstract\": \"千里杀一人，十步不愿行。\",\n            \"novel_author\": \"作者：猫腻\",\n            \"novel_cover\": \"https://www.bqg99.cc/bookimages/1849310.jpg\",\n            \"novel_latest_chapter_name\": \"今天没有更新\",\n            \"novel_latest_chapter_url\": \"https://www.bqg99.cc/book/1847953/594800464.html\",\n            \"novel_name\": \"大道朝天\",\n            \"novel_type\": \"分类：玄幻\",\n            \"novel_url\": \"https://www.bqg99.cc/book/1847953/\",\n            \"source_name\": \"笔趣阁01\",\n            \"source_url\": \"https://www.bqg99.cc/\"\n        },\n        {\n            \"novel_abstract\": \"命里有时终须有，命里无时要强求。　　这是一个长生果的故事。……\",\n            \"novel_author\": \"作者：猫腻\",\n            \"novel_cover\": \"https://www.bqg99.cc/bookimages/1008998084.jpg\",\n            \"novel_latest_chapter_name\": \"后记\",\n            \"novel_latest_chapter_url\": \"https://www.bqg99.cc/book/1008996727/644149409.html\",\n            \"novel_name\": \"择天记\",\n            \"novel_type\": \"分类：玄幻\",\n            \"novel_url\": \"https://www.bqg99.cc/book/1008996727/\",\n            \"source_name\": \"笔趣阁01\",\n            \"source_url\": \"https://www.bqg99.cc/\"\n        },\n        {\n            \"novel_abstract\": \"与天斗，其乐无穷。　　……\",\n            \"novel_author\": \"作者：猫腻\",\n            \"novel_cover\": \"https://www.bqg99.cc/bookimages/1010262420.jpg\",\n            \"novel_latest_chapter_name\": \"第六卷忽然之间 第一百三十章 结尾\",\n            \"novel_latest_chapter_url\": \"https://www.bqg99.cc/book/1010261063/959174919.html\",\n            \"novel_name\": \"将夜\",\n            \"novel_type\": \"分类：玄幻\",\n            \"novel_url\": \"https://www.bqg99.cc/book/1010261063/\",\n            \"source_name\": \"笔趣阁01\",\n            \"source_url\": \"https://www.bqg99.cc/\"\n        },\n        {\n            \"novel_abstract\": \"世界上有两件东西能够深深地震撼人们的心灵，一件是我们心中崇高的道德准则，另一件是我们头顶上灿烂的星空——康德　　当许……\",\n            \"novel_author\": \"作者：猫腻\",\n            \"novel_cover\": \"https://www.bqg99.cc/bookimages/1011122532.jpg\",\n            \"novel_latest_chapter_name\": \"最后的单章：间客关门八件事\",\n            \"novel_latest_chapter_url\": \"https://www.bqg99.cc/book/1011121175/979602210.html\",\n            \"novel_name\": \"间客\",\n            \"novel_type\": \"分类：玄幻\",\n            \"novel_url\": \"https://www.bqg99.cc/book/1011121175/\",\n            \"source_name\": \"笔趣阁01\",\n            \"source_url\": \"https://www.bqg99.cc/\"\n        },\n        {\n            \"novel_abstract\": \"积善之家，必有余庆，留余庆，留余庆，忽遇恩人；幸娘亲，幸娘亲，积得阴功。劝人生，济困扶穷……而谁可知，人生于世，……\",\n            \"novel_author\": \"作者：猫腻\",\n            \"novel_cover\": \"https://www.bqg99.cc/bookimages/1012231120.jpg\",\n            \"novel_latest_chapter_name\": \"第七卷朝天子 末章 后来\",\n            \"novel_latest_chapter_url\": \"https://www.bqg99.cc/book/1012229763/989671183.html\",\n            \"novel_name\": \"庆余年\",\n            \"novel_type\": \"分类：历史\",\n            \"novel_url\": \"https://www.bqg99.cc/book/1012229763/\",\n            \"source_name\": \"笔趣阁01\",\n            \"source_url\": \"https://www.bqg99.cc/\"\n        }\n    ],\n    \"status\": 1\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowie6879%2Fowllook_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhowie6879%2Fowllook_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowie6879%2Fowllook_api/lists"}