{"id":47589944,"url":"https://github.com/lugassawan/idxlens","last_synced_at":"2026-04-01T17:13:40.553Z","repository":{"id":345214830,"uuid":"1184563382","full_name":"lugassawan/idxlens","owner":"lugassawan","description":"Extract structured financial data from Indonesia Stock Exchange (IDX) PDF reports into JSON/CSV","archived":false,"fork":false,"pushed_at":"2026-03-18T13:08:45.000Z","size":287,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-18T20:52:07.359Z","etag":null,"topics":["bursa-efek-indonesia","cli","data-extraction","financial-data","financial-statements","golang","idx","indonesia-stock-exchange","pdf-extraction","pdf-parser"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lugassawan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","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":"2026-03-17T17:55:55.000Z","updated_at":"2026-03-18T13:08:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lugassawan/idxlens","commit_stats":null,"previous_names":["lugassawan/idxlens"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/lugassawan/idxlens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugassawan%2Fidxlens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugassawan%2Fidxlens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugassawan%2Fidxlens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugassawan%2Fidxlens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lugassawan","download_url":"https://codeload.github.com/lugassawan/idxlens/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lugassawan%2Fidxlens/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: 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":["bursa-efek-indonesia","cli","data-extraction","financial-data","financial-statements","golang","idx","indonesia-stock-exchange","pdf-extraction","pdf-parser"],"created_at":"2026-04-01T17:13:39.632Z","updated_at":"2026-04-01T17:13:40.539Z","avatar_url":"https://github.com/lugassawan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"assets/logo.svg\" alt=\"IDXLens\" width=\"120\"\u003e\n\n# IDXLens\n\n**Extract structured financial data from Indonesia Stock Exchange (IDX) reports (XLSX, XBRL, PDF)**\n\n[![Go Version](https://img.shields.io/badge/Go-1.26-00ADD8?logo=go)](https://go.dev)\n[![CI](https://github.com/lugassawan/idxlens/actions/workflows/ci.yml/badge.svg)](https://github.com/lugassawan/idxlens/actions/workflows/ci.yml)\n[![Coverage](https://img.shields.io/badge/coverage-%E2%89%A585%25-brightgreen)](https://github.com/lugassawan/idxlens/actions/workflows/ci.yml)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)\n[![GitHub Release](https://img.shields.io/github/v/release/lugassawan/idxlens)](https://github.com/lugassawan/idxlens/releases)\n\n\u003c/div\u003e\n\nIDXLens is a CLI tool that fetches and extracts structured financial data from IDX reports. Supports XLSX, XBRL, and PDF formats with automated downloading from the IDX portal.\n\n## Features\n\n- **Authenticate** with IDX portal via headless Chrome (with cookie expiry detection)\n- **List and fetch** available financial reports for any ticker\n- **Dry-run mode** (`fetch --dry-run`): preview files before downloading\n- **Extract financial data** from XLSX (excelize), XBRL (ZIP archives), and PDF presentations\n- **Full pipeline** (`analyze`): fetch if needed, then extract from the best available format (XBRL \u003e XLSX \u003e PDF)\n- **Presentation KV extraction** for corporate presentations (key-value pair detection from PDF layout)\n- **Automatic retry** with exponential backoff for transient API failures (429, 5xx)\n- **Verbose logging** (`--verbose`): structured debug output via `slog`\n- **ETag caching** for registry: conditional fetches skip re-downloading unchanged data\n- **Local caching** via `IDXLENS_HOME` (default: `~/.idxlens`)\n- **JSON output** with optional pretty-print\n- **Self-update** via `idxlens upgrade` from GitHub Releases\n- **Pure Go** -- single static binary, no runtime dependencies\n\n## Quick Install\n\n```sh\n# One-line install (macOS/Linux)\ncurl -fsSL https://raw.githubusercontent.com/lugassawan/idxlens/main/scripts/install.sh | bash\n\n# Using go install\ngo install github.com/lugassawan/idxlens/cmd/idxlens@latest\n\n# Or download a prebuilt binary from GitHub Releases\n```\n\n## Docker\n\n```sh\n# Pull from GitHub Container Registry\ndocker pull ghcr.io/lugassawan/idxlens:latest\n\n# Run extraction\ndocker run --rm -v $(pwd):/data ghcr.io/lugassawan/idxlens extract /data/report.xlsx\n\n# Authenticate (requires display forwarding for headless Chrome)\ndocker run --rm -v ~/.idxlens:/root/.idxlens ghcr.io/lugassawan/idxlens auth\n```\n\n## Usage\n\n```sh\n# Authenticate with IDX portal\nidxlens auth\n\n# List available reports for a ticker\nidxlens list BBCA -y 2024\n\n# Fetch reports to local cache\nidxlens fetch BBCA -y 2024 -p Q3\n\n# Preview files without downloading\nidxlens fetch BBCA -y 2024 --dry-run\n\n# Extract financial data from a local file\nidxlens extract path/to/report.xlsx --pretty\nidxlens extract path/to/report.zip   # XBRL ZIP\nidxlens extract path/to/presentation.pdf --mode presentation\n\n# Full pipeline: fetch (if needed) + extract\nidxlens analyze BBCA -y 2024 -p Q3\n\n# Verbose output for debugging\nidxlens analyze BBCA -y 2024 --verbose\n\n# Self-update to latest version\nidxlens upgrade\n```\n\n## Documentation\n\n- [Getting Started](docs/getting-started.md) -- installation and first steps\n- [CLI Reference](docs/cli-reference.md) -- all commands and flags\n- [Architecture](docs/architecture.md) -- pipeline design and layer details\n- [Contributing](docs/contributing.md) -- development setup and guidelines\n\n## Contributing\n\nSee [docs/contributing.md](docs/contributing.md) for development setup, code style, and PR guidelines.\n\n## License\n\n[Apache License 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flugassawan%2Fidxlens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flugassawan%2Fidxlens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flugassawan%2Fidxlens/lists"}