{"id":31600241,"url":"https://github.com/aadityansha06/flash-http-cli","last_synced_at":"2026-04-29T23:33:13.282Z","repository":{"id":317031166,"uuid":"1065724766","full_name":"aadityansha06/Flash-Http-cli","owner":"aadityansha06","description":"A mini Http cli Using C language and libcurl library just as simple Postman , Work in Linux and Mac , User can make a get request, Post request supporting JSON and application urlencoded both formate ","archived":false,"fork":false,"pushed_at":"2025-09-28T11:34:36.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-28T12:18:43.483Z","etag":null,"topics":["clanguage","cpp","libcurl"],"latest_commit_sha":null,"homepage":"","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/aadityansha06.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-09-28T10:00:11.000Z","updated_at":"2025-09-28T11:35:51.000Z","dependencies_parsed_at":"2025-09-28T17:33:42.139Z","dependency_job_id":null,"html_url":"https://github.com/aadityansha06/Flash-Http-cli","commit_stats":null,"previous_names":["aadityansha06/flash-http-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aadityansha06/Flash-Http-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadityansha06%2FFlash-Http-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadityansha06%2FFlash-Http-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadityansha06%2FFlash-Http-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadityansha06%2FFlash-Http-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aadityansha06","download_url":"https://codeload.github.com/aadityansha06/Flash-Http-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aadityansha06%2FFlash-Http-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278572005,"owners_count":26008686,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["clanguage","cpp","libcurl"],"created_at":"2025-10-06T06:54:29.912Z","updated_at":"2026-04-29T23:33:13.275Z","avatar_url":"https://github.com/aadityansha06.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flash HTTP Client ⚡\n\n\u003e A fast, simple, and powerful HTTP client for your terminal - like Postman, but in CLI\n\n[![Release](https://img.shields.io/github/v/release/aadityansha06/Flash-Http-cli?style=for-the-badge\u0026color=green)](https://github.com/aadityansha06/Flash-Http-cli/releases/tag/1.0)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge)](LICENSE)\n[![Language](https://img.shields.io/badge/Language-C-orange.svg?style=for-the-badge)](https://en.wikipedia.org/wiki/C_(programming_language))\n\nFlash is a terminal-based HTTP client that brings the power of API testing to your command line. Built with C and libcurl, it offers a clean Gruvbox-themed interface that's easy on the eyes and powerful in functionality.\n\n## Features\n\n- GET Requests — Fetch data from any REST API\n- POST Requests — Send form data and JSON payloads\n- Beautiful UI — Gruvbox dark theme with intuitive navigation\n- Fast and Lightweight — Built in C for maximum performance\n- Memory Safe — Proper memory management and error handling\n- Cross-Platform — Works on Linux, macOS, and Windows (with proper setup)\n\n## Screenshots\n\n### Main Menu\n![Flash Main Menu](screenshots/main-menu.png)\n\n### POST Method Selection\n![POST Method](screenshots/post.png)\n\n---\n\n## Quick Start\n\n### Download Pre-built Binary (Recommended)\n\n```bash\n# Download the latest release\nwget https://github.com/aadityansha06/Flash-Http-cli/releases/download/1.1.0/flash-linux-x64\n\n# Make it executable\nchmod +x flash-linux-x64\n\n# Run Flash\n./flash-linux-x64\n```\n\n### Build from Source\n\n#### Prerequisites\n\n- GCC compiler\n- libcurl development libraries\n- Make (optional)\n\n#### Ubuntu/Debian\n\n```bash\nsudo apt update\nsudo apt install build-essential libcurl4-openssl-dev\n```\n\n#### CentOS/RHEL/Fedora\n\n```bash\n# CentOS/RHEL\nsudo yum install gcc libcurl-devel\n\n# Fedora\nsudo dnf install gcc libcurl-devel\n```\n\n#### macOS\n\n```bash\n# Using Homebrew\nbrew install curl\n\n# Using MacPorts\nsudo port install curl\n```\n\n#### Compile and Run\n\n```bash\ngit clone https://github.com/aadityansha06/Flash-Http-cli.git\ncd Flash-Http-cli\n\nmake\n\n./bin/flash\n```\n\n#### Termux\n\n```bash\npkg update \u0026\u0026 pkg upgrade\npkg install clang curl\n\ngit clone https://github.com/aadityansha06/Flash-Http-cli.git\ncd Flash-Http-cli\n\nclang Flash-cli.c -o Flash -lcurl\n\n./Flash\n```\n\n\u003e Note: You may see warnings about `getchar()` return values or empty-body while loops during compilation. These are safe to ignore — the program will still run fine.\n\n---\n\n## Usage\n\n### GET Requests\n\n1. Select option `1` from the main menu\n2. Enter the URL (e.g., `https://jsonplaceholder.typicode.com/posts/1`)\n3. View the formatted response\n\n### POST — Form Data\n\n1. Select option `2` from the main menu\n2. Choose `1` for Form Data\n3. Enter data in format: `name=John+Doe\u0026email=john%40gmail.com\u0026age=25`\n4. Enter the target URL\n5. Send the request\n\n### POST — JSON\n\n1. Select option `2` from the main menu\n2. Choose `2` for JSON Data\n3. Enter your JSON payload: `{\"name\":\"John\",\"email\":\"john@gmail.com\",\"age\":25}`\n4. Enter the target URL\n5. Send the request\n\n---\n\n## Examples\n\n```bash\n# GET — fetch user data\nURL: https://jsonplaceholder.typicode.com/users/1\n\n# POST — form data\nData: name=Flash+User\u0026email=flash%40example.com\u0026phone=1234567890\nURL: https://httpbin.org/post\n\n# POST — JSON\nData: {\"title\":\"Flash HTTP CLI\",\"body\":\"A powerful terminal HTTP client\",\"userId\":1}\nURL: https://jsonplaceholder.typicode.com/posts\n```\n\n### URL Encoding\n\n```bash\n# Spaces become +\nname=John Doe → name=John+Doe\n\n# Special characters use % encoding\nemail=user@domain.com → email=user%40domain.com\n```\n\n### JSON Formatting\n\n```json\n{\n  \"name\": \"Flash User\",\n  \"data\": {\n    \"email\": \"user@example.com\",\n    \"active\": true,\n    \"id\": 123\n  }\n}\n```\n\n---\n\n## Theme\n\nFlash uses the **Gruvbox Dark** color scheme:\n\n- Background: Dark, easy on the eyes\n- Highlights: Warm yellows and oranges\n- Success: Bright green indicators\n- Errors: Clear red error messages\n- Info: Cool blue accents\n\n---\n\n## Contributing\n\nContributions are welcome! Please read [CONTRIBUTING.md](Developer-Docs/CONTRIBUTING.md) before submitting a PR. It covers code standards, version management, commit formatting, and the submission process.\n\n**Quick start:**\n\n1. Fork the repository\n2. Create a feature branch: `git checkout -b feature/amazing-feature`\n3. Commit your changes: `git commit -m 'Add amazing feature'`\n4. Update the version in `lib/version.h`\n5. Push the branch: `git push origin feature/amazing-feature`\n6. Open a Pull Request\n\n\u003e **Important:** Always update `lib/version.h` with your changes. See [CONTRIBUTING.md](Developer-Docs/CONTRIBUTING.md#-version-management) for details.\n\n---\n\n## Contributors\n\nThanks to everyone who has contributed to Flash HTTP CLI!\n\n**Core Team**\n- [@aadityansha06](https://github.com/aadityansha06) — Creator \u0026 Maintainer\n\n**Contributors**\n- [@dexter-xD](https://github.com/dexter-xD) — Enhanced JSON input with multi-line support and improved UI alignment (#6)\n- [@sakshamg567](https://github.com/sakshamg567) — Improved form-data input handling (#2)\n\nWant to contribute? Check out the open issues or raise a PR!\n\n---\n\n## Known Issues\n\n- Windows support requires additional setup for libcurl\n- Very large responses (\u003e1GB) may cause memory issues\n- Binary releases are currently Linux-only\n\n---\n\n## TODO\n\n- [ ] Custom headers support\n- [ ] Authentication methods (Bearer, Basic Auth)\n- [ ] Request/Response history\n- [ ] Configuration file support\n- [ ] Windows binary releases\n- [ ] Response syntax highlighting\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Author\n\n**Aadityansh** — [@aadityansha06](https://github.com/aadityansha06)\n\n## Acknowledgments\n\n- [libcurl](https://curl.se/libcurl/) — The HTTP library powering Flash\n- [Gruvbox](https://github.com/morhetz/gruvbox) — The color scheme\n- Inspired by [Postman](https://www.postman.com/)\n\n## Community\n\nJoin the discussions to help improve the project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faadityansha06%2Fflash-http-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faadityansha06%2Fflash-http-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faadityansha06%2Fflash-http-cli/lists"}