{"id":26295577,"url":"https://github.com/eeriemyxi/firush","last_synced_at":"2026-04-21T05:32:50.734Z","repository":{"id":282417809,"uuid":"948525093","full_name":"eeriemyxi/firush","owner":"eeriemyxi","description":"Find random nHentai manga/doujinshi/comic based on specified search query.","archived":false,"fork":false,"pushed_at":"2025-07-05T14:12:39.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T01:26:46.951Z","etag":null,"topics":["c","docker","nhentai","python","scraping","tui","web"],"latest_commit_sha":null,"homepage":"https://firush-eeriemyxi.p.psf.lt/","language":"C","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":"2025-03-14T13:45:03.000Z","updated_at":"2025-07-05T14:12:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee6af830-bd25-4d1a-9c12-8af469123c52","html_url":"https://github.com/eeriemyxi/firush","commit_stats":null,"previous_names":["eeriemyxi/firush"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eeriemyxi/firush","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Ffirush","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Ffirush/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Ffirush/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Ffirush/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eeriemyxi","download_url":"https://codeload.github.com/eeriemyxi/firush/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Ffirush/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32078857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["c","docker","nhentai","python","scraping","tui","web"],"created_at":"2025-03-15T04:14:26.480Z","updated_at":"2026-04-21T05:32:50.716Z","avatar_url":"https://github.com/eeriemyxi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Firush\nFirush can help you find random manga/doujinshi/comics from [nHentai](https://nhentai.net/) based on search query.\n\nThe idea is to,\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\nFirush can be installed via (requires installation of Git):\n```\npip install git+https://github.com/eeriemyxi/firush\n```\n\n\u003e [!CAUTION]\n\u003e [Wheels](https://pythonwheels.com/) are currently unavailable. You will need a C compiler to install Firush. Wheels and Pypi upload is in the TODO list.\n\n\u003e [!CAUTION]\n\u003e Windows is not supported yet (but is planned). See [Technical Details](#technical-details) for more information.\n\n\u003e [!IMPORTANT] \n\u003e Firush needs the user to have [curl](https://github.com/curl/curl) (tested on v8.12.1) installed with TLS (tested with [OpenSSL](https://github.com/openssl/openssl)) support.\n\nFirush provides a web client via `firush web` command:\n![](https://files.catbox.moe/lh6kwc.png)\n\nFirush also provides a TUI client via `firush tui` command:\n![](https://files.catbox.moe/wxbn6d.png)\n\n\u003e [!NOTE]\n\u003e You may also use Docker to use Firush, via `docker compose run firush firush --help`. But the TUI client won't be able to open your web browser (without some tweaking that I don't know how to do).\n\n## Technical Details\nThe Python module is actually a C extension. The functions that do the base work are implemented in C and can be compiled to a shared library.\n\nYou can build the shared library with CMake:\n```\nmkdir build/\ncd build/\ncmake ..\nmake\n```\nThat will build the shared library `build/lib/libfirush.so` (or `.dll` on Windows).\n\nYou should be able to make a wrapper for this library in any programming language that supports the C ABI for FFI.\n\nWindows support currently is not available because the library depends on the POSIX `regex.h` header. Support is planned by making `pcre2`'s POSIX translation layer a requirement for the Windows build.\n\n### API\nThe Python wrapper for the API is available as a submodule `firush.api` of `firush` package (that you can install with instruction in the first header).\n\nSee `src/firush.c` and `include/firush.h` for the C implementation.\n\n## Contributing\nThe Python wrapper is tested with `pytest`. Install the development packages via `pip install .[dev]` then run `pytest` in the source tree's root.\n\nNo tests for the C implementation, yet. Feel free to contribute some.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feeriemyxi%2Ffirush","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feeriemyxi%2Ffirush","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feeriemyxi%2Ffirush/lists"}