{"id":22645778,"url":"https://github.com/voldien/konachan","last_synced_at":"2026-04-20T13:37:02.171Z","repository":{"id":92126209,"uuid":"79040808","full_name":"voldien/konachan","owner":"voldien","description":"Terminal query tool for query information from konachan.","archived":false,"fork":false,"pushed_at":"2017-10-10T05:55:20.000Z","size":56,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T01:48:13.749Z","etag":null,"topics":["json","konachan","konachan-api","query"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/voldien.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":"2017-01-15T15:24:10.000Z","updated_at":"2025-02-18T07:00:54.000Z","dependencies_parsed_at":"2023-03-13T17:33:25.148Z","dependency_job_id":null,"html_url":"https://github.com/voldien/konachan","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/voldien/konachan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voldien%2Fkonachan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voldien%2Fkonachan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voldien%2Fkonachan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voldien%2Fkonachan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voldien","download_url":"https://codeload.github.com/voldien/konachan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voldien%2Fkonachan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32049129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["json","konachan","konachan-api","query"],"created_at":"2024-12-09T06:07:15.237Z","updated_at":"2026-04-20T13:37:02.137Z","avatar_url":"https://github.com/voldien.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# konachan #\n----\n\nThe konachan program is a command line tool for query information from [konachan.net](https://konachan.net).\nIt uses HTTP/S for sending request a GET request to to [konachan.net](https://konachan.net). Where the konachan website returns\na HTTP/S response along with JSON data that later gets parsed by using the *json-c* library. The values is extracted by the attribute names.\nTo see more details of how konachan's API works, see [konachan API](https://konachan.net/help/api) .\n\nFor HTTPS, it uses TLSv1.2 for creating a secure connection and maintaining a secure connection with help of the OpenSSL library. \n\n# Motivation #\nThe intention of the project is to create a simple command line tool for query information from konachan. Where it should be easy to modify the behavior of the query and what information to query.\n\n# Examples #\n------\n1. Get first search result with the tag 'cat', print out previews URL. ( preview URL is the default return value)\n```\nkonachan -t \"cat\"\n```\n\n2. Get 42:th and 43:th search result in safe mode with the tag 'cat', print out* preview URL*. ( safe mode is by default enabled )\n```\nkonachan -S -t \"cat\" -p 42 -l 2 -f \"preview\"\n```\n\n3. Get first search result with tag 'cat' with a non secure connection. ( Using only HTTP )\n```\nkonachan -n -t \"cat\" -f \"preview\"\n```\n\n4. Get multiple attributes, print out *preview url* first, *score* second and *id* last with whitespace in between each attributes.\n```\nkonachan -t \"cat\" -f \"preview score id\"\n```\n\nSee *konachan(1)* for more details of what options are available.\n\n# Dependencies #\n---------\nIn order to compile the program, the following Debian packages is required.\n```\napt-get install openssl-dev json-c-dev\n```\n## License ##\n-------\nThis project is licensed under the GPL+3 License - see the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoldien%2Fkonachan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoldien%2Fkonachan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoldien%2Fkonachan/lists"}