{"id":29010994,"url":"https://github.com/hyperdxio/sample-vue-app","last_synced_at":"2026-02-02T06:04:07.698Z","repository":{"id":299854349,"uuid":"1004437402","full_name":"hyperdxio/sample-vue-app","owner":"hyperdxio","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-18T16:13:14.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T20:19:14.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/hyperdxio.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}},"created_at":"2025-06-18T16:09:45.000Z","updated_at":"2025-06-18T16:13:17.000Z","dependencies_parsed_at":"2025-06-18T17:27:45.627Z","dependency_job_id":"fa25144d-65fb-4c2b-833e-5e0c46d37e2c","html_url":"https://github.com/hyperdxio/sample-vue-app","commit_stats":null,"previous_names":["hyperdxio/sample-vue-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyperdxio/sample-vue-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdxio%2Fsample-vue-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdxio%2Fsample-vue-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdxio%2Fsample-vue-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdxio%2Fsample-vue-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperdxio","download_url":"https://codeload.github.com/hyperdxio/sample-vue-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdxio%2Fsample-vue-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29006679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T04:25:24.522Z","status":"ssl_error","status_checked_at":"2026-02-02T04:24:51.069Z","response_time":58,"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":[],"created_at":"2025-06-25T17:10:26.166Z","updated_at":"2026-02-02T06:04:07.680Z","avatar_url":"https://github.com/hyperdxio.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HyperDX Vue Browser Integration Demo\n\nThis is a minimal Vue 3 application that demonstrates how to integrate [HyperDX](https://www.hyperdx.io) browser SDK for frontend observability including console logs, network requests, RUM, and error tracking.\n\nThe app showcases:\n- Simple Vue 3 setup with TypeScript and Vite\n- HyperDX browser SDK integration with automatic instrumentation\n- Console log capture and network request monitoring\n- Zero-config observability for frontend applications\n\n---\n\n## ✨ Features\n\n- ✅ Auto-instrumented console logs\n- ✅ Advanced network capture with full request/response headers and bodies\n- ✅ Automatic error tracking and reporting\n- ✅ Session replay capabilities\n- ✅ One-command setup with environment variable configuration\n\n---\n\n## 🛠 Requirements\n\n- Node.js 18+\n- Yarn 1.22+\n- [HyperDX account](https://www.hyperdx.io) and API key\n- Modern web browser\n\n---\n\n## 🚀 Quick Start\n\n### 1. Clone the Repository\n\n```bash\ngit clone \u003crepository-url\u003e\ncd vue-example-app\n```\n\n### 2. Install Dependencies\n\n```bash\nyarn install\n```\n\n### 3. Set Your API Key\n\nCreate a `.env` file in the root directory:\n\n```bash\nVITE_HYPERDX_API_KEY=\"your-hyperdx-api-key\"\n```\n\n### 4. Run the Development Server\n\n```bash\nyarn dev\n```\n\nThe app will be available at `http://localhost:5173`\n\n---\n\n## 🔍 What's Captured\n\nHyperDX automatically captures:\n\n| Feature | Description |\n|---------|-------------|\n| **Console Logs** | All `console.*` calls |\n| **Network Requests** | HTTP requests with headers, bodies, and timing |\n| **JavaScript Errors** | Uncaught exceptions and promise rejections |\n| **User Sessions** | Session tracking with anonymous user IDs |\n| **Performance Metrics** | Page load times and resource timings |\n\n---\n\n## 📈 What You'll See in HyperDX\n\n- Real-time console logs from your Vue application\n- Network waterfall view showing all API calls\n- Error tracking with stack traces\n- Session timeline showing user interactions\n- Performance metrics for page loads\n\nExample captured data:\n- Component lifecycle logs\n- API requests to external services\n- User interaction events\n- Runtime errors with source maps\n\n---\n\n## 🎯 Usage Examples\n\n### Logging Custom Events\n\n```typescript\n// In any Vue component\nconsole.log('User clicked button', { buttonId: 'submit' })\nconsole.error('Form validation failed', { errors: validationErrors })\n```\n\n### Tracking API Calls\n\n```typescript\n// Network requests are automatically captured\nfetch('https://api.example.com/data')\n  .then(response =\u003e response.json())\n  .then(data =\u003e console.log('API response', data))\n```\n\n### Error Handling\n\n```typescript\n// Errors are automatically reported\ntry {\n  riskyOperation()\n} catch (error) {\n  console.error('Operation failed', error)\n}\n```\n\n---\n\n## 🚀 Next Steps\n\n- Add custom attributes to logs using structured logging\n- Implement user identification for better session tracking\n- Add performance marks for specific user flows\n- Set up alerts in HyperDX for error rates and performance issues\n\n---\n\n## 📄 License\n\nMIT – feel free to use, fork, modify, and contribute.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperdxio%2Fsample-vue-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperdxio%2Fsample-vue-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperdxio%2Fsample-vue-app/lists"}