{"id":48589823,"url":"https://github.com/divijg19/pulse","last_synced_at":"2026-04-08T19:01:14.581Z","repository":{"id":347839258,"uuid":"1195408809","full_name":"divijg19/Pulse","owner":"divijg19","description":"Streaming API explorer \u0026 playground in Go for realtime HTTP observability- concurrent requests, live logs, and latency insights.","archived":false,"fork":false,"pushed_at":"2026-04-06T13:57:46.000Z","size":130,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T15:35:48.785Z","etag":null,"topics":["concurrency","devtools","http","infra","networking","observability","realtime","server-sent-events","streaming"],"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/divijg19.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-29T16:31:56.000Z","updated_at":"2026-04-06T13:57:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/divijg19/Pulse","commit_stats":null,"previous_names":["divijg19/pulse"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/divijg19/Pulse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divijg19%2FPulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divijg19%2FPulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divijg19%2FPulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divijg19%2FPulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divijg19","download_url":"https://codeload.github.com/divijg19/Pulse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divijg19%2FPulse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31569400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["concurrency","devtools","http","infra","networking","observability","realtime","server-sent-events","streaming"],"created_at":"2026-04-08T19:01:12.618Z","updated_at":"2026-04-08T19:01:14.575Z","avatar_url":"https://github.com/divijg19.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `Pulse`\n\n\u003e **A real-time observability surface for HTTP behavior.**\n\n![Go Version](https://img.shields.io/badge/Go-1.25+-00ADD8?style=flat\u0026logo=go)\n![Zero Dependencies](https://img.shields.io/badge/Dependencies-Zero-brightgreen)\n![License](https://img.shields.io/badge/License-MIT-blue)\n\n**`Pulse`** is a live, streaming API explorer built for backend engineers and infrastructure enthusiasts. It bridges the gap between traditional API clients (like Postman) and heavy load-testing CLI tools (like `k6`). \n\nInstead of firing requests and waiting for a batched response, `Pulse` utilizes a concurrent worker pool and **Server-Sent Events (SSE)** to stream metrics, logs, and latency visualizations to a reactive UI the exact millisecond they happen.\n\n*(Will insert a 5-second high-framerate GIF of the UI streaming latency bars here)*\n\n---\n\n## 🧠 Why `Pulse`? (The Philosophy)\nMost API tools answer the question: *\"What did the server return?\"*  \n`Pulse` answers: ***\"What is the system doing right now?\"***\n\nIt is designed with strict principles:\n* **Streaming \u003e Batching:** You shouldn't wait for 100 requests to finish to see the first result.\n* **Clarity \u003e Completeness:** No accounts, no saved workspaces, no clutter. Just pure, real-time HTTP I/O.\n* **Fast \u003e Feature-Rich:** The UI relies on native DOM updates and CSS Flexbox for visualization—no heavy charting libraries.\n\n### 🧹 Design Principles\n```\nSpeed \u003e features\nClarity \u003e completeness\nStreaming \u003e polling\nSimple \u003e clever\n```\n\n---\n\n## 🚀 Features\n* **Concurrent Execution:** Fire `N` requests simultaneously via Go worker pools.\n* **Live Latency Visualization:** Relative latency bars render in real-time, making performance outliers instantly obvious.\n* **Terminal-Style Streaming Logs:** Watch success/failures auto-scroll as they resolve.\n* **Breathing Metrics:** RPS (Requests per second), Success Rate, and Average Latency update dynamically as the batch progresses.\n* **Built-in Safety:** Strict timeouts, context cancellation, and response-body truncation prevent memory leaks and OOM crashes.\n\n## ⚡ Core Experience\n\n1. Enter API endpoint\n2. Set concurrency (e.g., 10)\n3. Click Send\n\n```\n→ Requests fire in parallel\n→ Responses stream in live\n→ Logs update instantly\n→ Metrics evolve in real time\n```\n\n---\n\n## 🏗️ Architecture \u0026 Engineering Choices\n\n```\n[ Browser UI ]\n       │\n       │ HTTP (POST) + SSE (stream)\n       ▼\n[ Go API Server ]\n       │\n       ├── Request Engine      (concurrent execution)\n       ├── Stream Hub          (event broadcasting)\n       └── Metrics Aggregator  (live stats)\n```\n\n---\n\n## ⚙️ Getting Started\n\n### Prerequisites\n* [Go 1.25+](https://go.dev/dl/) installed.\n\n### 🚀 Deployment\nBackend: single Go binary with server-sent events\nFrontend: css, vite + solidjs static (served or CDN)\n\n### Test via CLI (cURL)\nBecause `Pulse` uses standard SSE, you can interact with it directly from your terminal:\n\n*Start a stream session:*\n```bash\ncurl -N http://localhost:8080/stream\n```\n\n*Trigger a batch (in another terminal):*\n```bash\ncurl -X POST http://localhost:8080/run \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"url\": \"https://jsonplaceholder.typicode.com/posts\", \"method\": \"GET\", \"concurrency\": 20}'\n```\n\n---\n\n## 📜 License\nMIT License. Do whatever you want with it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivijg19%2Fpulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivijg19%2Fpulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivijg19%2Fpulse/lists"}