Skip to content

just messing around - #2

Open
karmataklu-bot wants to merge 222 commits into
SamirWagle:mainfrom
karmataklu-bot:main
Open

just messing around#2
karmataklu-bot wants to merge 222 commits into
SamirWagle:mainfrom
karmataklu-bot:main

Conversation

@karmataklu-bot

Copy link
Copy Markdown

I made a brave extension that calcualtes CAR from your data.

If you have time check it out!

Karma Y and others added 7 commits May 4, 2026 10:28
Updated README to reflect new project structure and features.
- Chrome extension (popup, background, analyse UI) for NEPSE CAGR calculation
- Native messaging host (nepse_host.py + wrapper shell script) bridges extension to local Python engine
- nepse_cagr_server.py runs local HTTP server for CAGR calculations
- com.nepse.cagr.json manifest registers native host with Chrome
- CLAUDE.md and SETUP.md document project and setup steps
Updated README to clarify functionality and usage details.
Added a section for the Browser Extension, detailing its architecture, files, and setup instructions for macOS.
@SamirWagle

Copy link
Copy Markdown
Owner

Loved your work. Actually there is automation implemented in this CI/CD Pipeline. We can archive your branch in community-chrome-extension branch. Please create P.R in that branch

Karma Y added 14 commits May 7, 2026 08:36
- index_history.py: scrapes all 18 NEPSE indices from ShareSansar
  - GET request with numeric index_id (not POST with text name)
  - 30-day chunks (server silently returns 0 rows for >= 31 days)
  - JSON response parsing (not HTML table)
  - Incremental mode: resumes from latest CSV date
  - Query mode: --query --index "X" --date YYYY-MM-DD
- run_index_history.py: CLI entry point mirroring run_daily.py pattern
- data/index/: initial historical data for all 18 sub-indices
…to fix MV3 CSP

Chrome MV3 blocks inline <script> blocks and CDN scripts.
- Extract all JS from analyse.html into analyse.js (external file)
- Download chart.umd.js locally (was blocked from cdnjs CDN)
- Light mode theme toggle now works
- Add topbar-right container to group theme and back buttons
- Implement switchPage function for multi-page navigation
- Back button shows on non-analyse pages, hidden on main page
- Back button navigates back to analyse (main) page
- Add corresponding CSS styling for back-btn
@SamirWagle
SamirWagle self-requested a review May 7, 2026 12:08
Karma Y and others added 7 commits May 7, 2026 18:02
…nflict

- Add asterisk note clarifying NEPSE data based on closing prices
- Remove malformed JavaScript code from HTML merge conflict
- Clean up CAGR page section
Remove height:0 from Estimated (1994-2000) legend item. Height override
prevented dashed border from rendering. Now displays properly as dashed line.
- Add company name/ticker search input field for future filtering capability
- Add "My Predictions — Next Cycle Top" section with 4 key indicators:
  * Buffett Indicator (market cap = GDP) reaching 100%
  * Daily trading volume approaching 35–40 Arab
  * Index crossing 5,000
  * 4-year cycle milestone from Sep 2022 bottom (~Sep 2026)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…ack nav

- Add page-buffett: full blog-style article from PDF (all 5 pages)
- Include Global & Regional Buffett Indicator comparison table (11 markets)
- Wire #buffett-link click → switchPage('buffett') via JS (CSP-safe)
- Fix back button to return to previous page (bullbear → buffett → back = bullbear)
- Add buffett-indicator.pdf to extension and web_accessible_resources in manifest
- Article width set to 749px, minimal dark aesthetic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants