{"id":15150385,"url":"https://github.com/germanmorini/cool","last_synced_at":"2026-03-01T05:02:55.198Z","repository":{"id":231188775,"uuid":"781178952","full_name":"GermanMorini/Cool","owner":"GermanMorini","description":"Aplicación estilo curl","archived":false,"fork":false,"pushed_at":"2024-11-27T15:14:37.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T00:13:17.657Z","etag":null,"topics":["api-testing","curl","http","https","networking","redes","requests"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GermanMorini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-02T22:23:31.000Z","updated_at":"2024-11-27T15:15:25.000Z","dependencies_parsed_at":"2024-09-13T02:43:24.698Z","dependency_job_id":null,"html_url":"https://github.com/GermanMorini/Cool","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"de1db4635248fff42edd2b9045b3d7a7eb5da9fd"},"previous_names":["germanmorini/cool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GermanMorini%2FCool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GermanMorini%2FCool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GermanMorini%2FCool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GermanMorini%2FCool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GermanMorini","download_url":"https://codeload.github.com/GermanMorini/Cool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237918710,"owners_count":19387305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-testing","curl","http","https","networking","redes","requests"],"created_at":"2024-09-26T14:03:28.479Z","updated_at":"2025-10-24T05:31:56.719Z","avatar_url":"https://github.com/GermanMorini.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cool\n\nAplicacion estilo `curl` para realizar peticiones HTTP o HTTPS a una url\n\n## Características\n\n- Permite enviar solicitudes GET, POST, PUT, DELETE, o cualquier otra, midiendo el tiempo de respuesta e imprimiendo los headers de la respuesta\n- Por defecto imprime el body de la consulta a `Stdout` y los logs a `Stderr`, esto permite guardar por separado los logs del body\n- Al especificar la flag `-b` se cambia el método automáticamente a `POST` y se establece el header `Content-Type: application/json`, facilitando hacer consultas al no tener que especificar cada opción por separado\n\n## Codigos de salida\n\n- **0** sin errores\n- **1** error al parsear las flags\n- **2** error generico (en la conexión, al leer el body de un archivo, ...)\n\n## Ejemplos\n\n~~~bash\n\ncool                                                # Consulta tipo GET a la dirección por defecto (http://localhost:8080)\n\ncool URL                                            # Indica una url\n\ncool -m METHOD                                      # Metodo a utilizar (por defecto GET)\n\ncool -ct CONT_TYPE                                  # Especifica el Content-Type (por defecto 'application/json')\n\ncool -b '{\"key\":\"val\", ...}'                        # Especifica un body\n\ncool -b @endpoint1.json                             # Lee el body desde un archivo\n\ncool -Q                                             # No imprime el body\n\ncool -q                                             # No imprime los logs\n\ncool -H \"Authorization: Bearer $TOKEN\"              # Especifica headers (se puede usar varias veces para cada header)\n\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgermanmorini%2Fcool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgermanmorini%2Fcool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgermanmorini%2Fcool/lists"}