{"id":50578692,"url":"https://github.com/eeriemyxi/ntai","last_synced_at":"2026-06-05T00:03:17.976Z","repository":{"id":349620185,"uuid":"1203125136","full_name":"eeriemyxi/ntai","owner":"eeriemyxi","description":"Find random nHentai books based on specified search query. Succesor of Firush.","archived":false,"fork":false,"pushed_at":"2026-04-06T20:37:33.000Z","size":620,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T21:12:39.430Z","etag":null,"topics":["api","nhentai","python","random","search","tui","web"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/eeriemyxi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-06T18:41:01.000Z","updated_at":"2026-04-06T20:37:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eeriemyxi/ntai","commit_stats":null,"previous_names":["eeriemyxi/ntai"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/eeriemyxi/ntai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fntai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fntai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fntai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fntai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eeriemyxi","download_url":"https://codeload.github.com/eeriemyxi/ntai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fntai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33924837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"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","nhentai","python","random","search","tui","web"],"created_at":"2026-06-05T00:03:17.143Z","updated_at":"2026-06-05T00:03:17.972Z","avatar_url":"https://github.com/eeriemyxi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ntai\n\nNtai is the successor to [Firush](https://github.com/eeriemyxi/firush) that uses\nthe new [nHentai API](https://nhentai.net/api/v2/docs) instead.\n\nFirush was a tool to find _random_ manga/doujinshi/comics from [nHentai](https://nhentai.net) based on\nsearch queries.\n\nFirush behind the scenes was doing the following:\n\n- Search the query\n- Scrape the total page count _k_\n- Pick a random number between 1 and _k_\n- Scrape and return a random entry from that page.\n\nHowever, nHentai has now made scraping the site unreliable; thus, Ntai instead\ndepends on the API for the page count and book information.\n\n# Screenshots\n\n## Web Client\n\n![](assets/demo-i.png)\n![](assets/demo-ii.png)\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick to expand additional screenshots\u003c/summary\u003e\n\n![](assets/demo-iii.png)\n![](assets/demo-iv.png)\n\n\u003c/details\u003e\n\n# Installation\n\n\u003e [!NOTE]\n\u003e This package exports binaries `ntai` and `myxi-ntai` which are available\n\u003e after installation.\n\n## From PyPi\n\nYou can install the PyPi package:\n\n```\npip install myxi-ntai\n```\n\n\u003e [!TIP]\n\u003e You can also use [`uv`](https://docs.astral.sh/uv/getting-started/installation/) like so:\n\u003e\n\u003e ```\n\u003e uv tool install myxi-ntai\n\u003e ```\n\n## From Source\n\n\u003e [!IMPORTANT]\n\u003e Installation of [Git](https://git-scm.com/) is required.\n\n```\npip install git+https://github.com/eeriemyxi/myxi-ntai.git\n```\n\n# How To Use\n\nThere are two clients, web and TUI.\n\nTo use the web version, simply do:\n\n```\nntai web\n```\n\nOr the TUI version:\n\n\u003e [!IMPORTANT]\n\u003e The TUI version is yet to be implemented.\n\n```\nntai tui\n```\n\nYou could also check out `ntai [tui,web] --help` :)\n\n# Command-line Arguments\n\n```\nUsage: ntai [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  -L, --log-level [TRACE|DEBUG|INFO|SUCCESS|WARNING|CRITICAL|ERROR]\n  -v, -V, --version               Show the version and exit.\n  --help                          Show this message and exit.\n\nCommands:\n  tui\n  web\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feeriemyxi%2Fntai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feeriemyxi%2Fntai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feeriemyxi%2Fntai/lists"}