{"id":28873777,"url":"https://github.com/garrettm19/reflex","last_synced_at":"2026-04-28T00:32:06.829Z","repository":{"id":295467508,"uuid":"989316043","full_name":"garrettm19/reflex","owner":"garrettm19","description":"A gamified discipline and journaling assistant for prop firm traders","archived":false,"fork":false,"pushed_at":"2025-11-29T22:50:13.000Z","size":214,"stargazers_count":2,"open_issues_count":26,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-02T03:45:48.913Z","etag":null,"topics":["ai-assistant","discipline","electron","gamification","gpt","journaling","react","stocks","trading"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/garrettm19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","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-05-23T21:31:37.000Z","updated_at":"2025-11-29T22:50:17.000Z","dependencies_parsed_at":"2025-05-25T18:45:21.629Z","dependency_job_id":"93e15e55-e4be-4442-a19e-4be8bda56f7e","html_url":"https://github.com/garrettm19/reflex","commit_stats":null,"previous_names":["garrettm19/reflex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/garrettm19/reflex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettm19%2Freflex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettm19%2Freflex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettm19%2Freflex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettm19%2Freflex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garrettm19","download_url":"https://codeload.github.com/garrettm19/reflex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garrettm19%2Freflex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32361477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"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":["ai-assistant","discipline","electron","gamification","gpt","journaling","react","stocks","trading"],"created_at":"2025-06-20T16:01:05.842Z","updated_at":"2026-04-28T00:32:06.823Z","avatar_url":"https://github.com/garrettm19.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reflex – A Discipline Assistant for Prop Firm Traders\n\nReflex is a local-first desktop application that helps funded traders improve discipline through journaling, gamification, and real-time behavioral feedback. Built using Electron and React, the app provides structured journaling, AI insights, streak tracking, and a floating mascot that responds to the trader’s actions.\n\n---\n\n## Project Purpose\n\nTraders in prop firm environments (Apex, Topstep, MyFundedFutures, etc.) often fail not because of poor strategy, but because of broken discipline. Reflex addresses this by:\n\n- Encouraging good habits and no-trade days\n- Logging every trade with purpose, structure, and review\n- Providing real-time feedback through a mascot assistant\n- Helping traders stick to their rules and build confidence\n\n---\n\n## Key Features\n\n- Trade journaling with R:R, grades, notes, and screenshots\n- GPT-powered feedback on trade quality and behavioral patterns\n- Daily check-ins with streak rewards, XP, and badges\n- Rule system with live monitoring (max trades, trading hours, etc.)\n- Transparent animated mascot overlay with voice and animation\n- Exportable “Discipline Resume” PDF based on behavior, not PnL\n\n---\n\n## Tech Stack\n\n- Electron – Cross-platform desktop shell\n- React + Tailwind CSS – UI framework\n- Zustand – Global state management\n- SQLite – Local database for journals and progress\n- OpenAI GPT-4 – AI feedback and trade analysis\n- Lottie – Animated mascot overlay\n- Web Audio API – Sound effects and voice\n\n---\n\n## Project Roadmap\n\nTrack progress: [Reflex GitHub Project Board](https://github.com/garrettm19/reflex/projects)\n\n---\n\n## File Structure Overview\n\n- `src/` – Source code (Electron, React, Overlay, Zustand, DB)\n- `docs/` – Full SDLC documentation (Phases 01–11)\n- `demo/` – Screenshots and demo video assets\n- `.github/` – Templates and contribution files\n- `README.md` – Public project overview\n\n---\n\n## Installation (Coming Soon)\n\nThis project is in active development. The MVP scaffold will follow this setup:\n\n1. Clone this repository  \n   `git clone https://github.com/garrettm19/reflex.git`\n\n2. Navigate into the project directory  \n   `cd reflex`\n\n3. Install dependencies  \n   `npm install`\n\n4. Start the development server  \n   `npm run dev`\n\n---\n\n## Getting Started (Planned)\n\nUpon first launch:\n1. User is prompted to define rules and settings.\n2. Each day begins with a check-in: “Did you trade today?”\n3. User logs a trade or a no-trade day.\n4. Mascot responds to behavior and feedback is generated via GPT.\n5. XP and streaks update automatically.\n\n---\n\n## Demo\n\n**Demo video coming soon.** It will include:\n\n- Logging a trade with screenshot and notes\n- Receiving GPT feedback\n- Mascot reacting to a rule break\n- Viewing a 7-day streak and exporting the resume\n\n---\n\n## Screenshots (To Be Added)\n\nStore the following images in the `/demo` folder:\n\n- `dashboard_screenshot.png`\n- `journal_entry_screenshot.png`\n- `mascot_warning.png`\n- `export_resume.png`\n\nUpdate the table below once available.\n\n| Dashboard | Journal Entry | Mascot Warning | Resume Export |\n|-----------|----------------|----------------|----------------|\n| *(screenshot)* | *(screenshot)* | *(screenshot)* | *(screenshot)* |\n\n---\n\n## Full Documentation\n\nThis project follows a full software development lifecycle (SDLC). Each phase is documented in `/docs/`.\n\n- [01 – Problem Discovery](docs/01_discovery_and_problem.md)\n- [02 – Feature Requirements](docs/02_feature_requirements.md)\n- [03 – System Architecture](docs/03_system_architecture.md)\n- [04 – Data Model](docs/04_data_model.md)\n- [05 – Wireframes](docs/05_ui_wireframes.md)\n- [06 – AI Design](docs/06_ai_design.md)\n- [07 – Build Plan](docs/07_build_plan.md)\n- [08 – Demo and Reflection](docs/08_demo_and_reflection.md)\n- [09 – User Stories](docs/09_user_stories.md)\n- [10 – Metrics \u0026 Success Plan](docs/10_metrics_and_success.md)\n- [11 – User Persona \u0026 Flow](docs/11_user_persona_and_flow.md)\n\n---\n\n## Next Steps\n\n- [x] Scaffold Electron + React with overlay window\n- [x] Add mascot idle and feedback animations\n- [ ] Implement SQLite journaling backend\n- [ ] Add XP and badge logic\n- [ ] Connect GPT feedback to journal entries\n- [ ] Build resume export functionality\n- [ ] Add demo screenshots to `/demo` folder\n- [ ] Record and upload demo walkthrough video\n\n---\n\n## License\n\nMIT License\n\n---\n\n## Author\n\nBuilt by Mason Garrett  \nContact: mgarrett620@gmail.com  \nGitHub: [garrettm19](https://github.com/garrettm19)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarrettm19%2Freflex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarrettm19%2Freflex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarrettm19%2Freflex/lists"}