{"id":23802911,"url":"https://github.com/kskarthik/go-ifsc","last_synced_at":"2025-04-13T08:50:27.828Z","repository":{"id":183422102,"uuid":"648228626","full_name":"kskarthik/go-ifsc","owner":"kskarthik","description":"  A CLI tool \u0026 REST API server to search bank info / IFSC codes of all the Indian banks | Mirror of https://gitlab.com/kskarthik/go-ifsc","archived":false,"fork":false,"pushed_at":"2024-03-12T06:05:55.000Z","size":213,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T00:22:52.334Z","etag":null,"topics":["golang","ifsc-api","ifsc-checker","ifsc-codes","ifsc-finder","rest-api"],"latest_commit_sha":null,"homepage":"https://gitlab.com/kskarthik/go-ifsc","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kskarthik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-06-01T13:43:11.000Z","updated_at":"2024-11-06T09:58:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"d60c94b3-ccc1-4132-a72d-f796b1d097a7","html_url":"https://github.com/kskarthik/go-ifsc","commit_stats":null,"previous_names":["kskarthik/go-ifsc"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kskarthik%2Fgo-ifsc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kskarthik%2Fgo-ifsc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kskarthik%2Fgo-ifsc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kskarthik%2Fgo-ifsc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kskarthik","download_url":"https://codeload.github.com/kskarthik/go-ifsc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688415,"owners_count":21145763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["golang","ifsc-api","ifsc-checker","ifsc-codes","ifsc-finder","rest-api"],"created_at":"2025-01-01T22:28:24.992Z","updated_at":"2025-04-13T08:50:27.793Z","avatar_url":"https://github.com/kskarthik.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-ifsc 🚀\n\nSearch all the Indian banks info from the comfort of your terminal 🤓💪\n\n# Features\n\n- ⚡CLI tool\n- ⚡Includes a REST API server 💥\n- ⚡Single binary\n- ⚡Works Offline\n- ⚡Search \u0026 validation\n\n# Download\n\nAll binaries are built on gitlab ci for every release. You can download the latest release binary from the respective links below:\n\n- 🐧 [Linux (x64)](https://kskarthik.gitlab.io/go-ifsc/linux/ifsc)\n- 🪟 [Windows (x64)](https://kskarthik.gitlab.io/go-ifsc/win/ifsc.exe)\n- 🍎 [Mac (darwin x64)](https://kskarthik.gitlab.io/go-ifsc/darwin/ifsc)\n\n## Docker\n\nDocker hub: https://hub.docker.com/r/kskarthik/ifsc\n\n```sh\n$ docker pull kskarthik/ifsc:latest\n```\n\nConfigure the docker compose file. You can override the default entrypoint \u0026 port\n\n```yaml\nifsc-server:\n  image: kskarthik/ifsc:latest\n  entrypoint: [\"ifsc\", \"server\", \"--port\", \"3000\"]\n  expose:\n    - \"3000\"\n```\n\n# Usage\n\n```bash\n# give execute permissions\nchmod +x ifsc\n# on the first start, you need to index the IFSC data locally, This is not required for subsequent runs.\n./ifsc index\n# start a rest API server\n./ifsc server\n# Print usage info\n./ifsc help\n```\n\n# API Reference 📡\n\nREST API is documented using swagger. See [Swagger UI](https://kskarthik.gitlab.io/go-ifsc)\n\n# CLI Examples 😍\n\n### Validate a IFSC code\n\n```bash\n$ ifsc check ICIC0004530\n\n    BANK\tICICI Bank\n    IFSC\tICIC0004530\n  BRANCH\tRAJAHMUNDRY AVA ROAD\n  CENTRE\tRAJAHMUNDRY\nDISTRICT\tRAJAHMUNDRY\n   STATE\tANDHRA PRADESH\n ADDRESS\tICICI Bank Ltd., D.No 80.1.13, Jayasree Buildings, Jayasree Garden, AVA Road, Rajahmundry, Dist. East Godavari, Andhra Pradesh.533103\n CONTACT\t+918008104316\n    IMPS\tyes\n    RTGS\tyes\n    CITY\tEAST GODAVARI\n ISO3166\tIN-AP\n    NEFT\tyes\n    MICR\t533229007\n     UPI\tyes\n   SWIFT\tN/A\n```\n\n### Search for banks\n\nMatch documents which satisfy all search terms\n\n```bash\n$ ifsc search -m all axis karol bagh\n+-------------+-----------+-------+-------+---------------------------+\n| IFSC        | BANK      | CITY  | STATE | ADDRESS                   |\n+-------------+-----------+-------+-------+---------------------------+\n| UTIB0000223 | Axis Bank | DELHI | DELHI | 6/83,PADAM SINGH RD,WESTE |\n|             |           |       |       | RN EXTN AREA  KAROL BAGH, |\n|             |           |       |       |  WEST DELHI               |\n| UTIB0SIPSB2 | Axis Bank | DELHI | DELHI | 794 JOSHI ROAD KAROL  BAG |\n|             |           |       |       | H NEW DELHI-110005        |\n+-------------+-----------+-------+-------+---------------------------+\n```\n\n### Customize Columns\n\n```bash\ngo run . search axis karol --limit 2 --columns 'BANK,ADDRESS,CONTACT'\n+-----------+---------------------------+---------------+\n| BANK      | ADDRESS                   | CONTACT       |\n+-----------+---------------------------+---------------+\n| Axis Bank | 6/83,PADAM SINGH RD,WESTE | +919582802231 |\n|           | RN EXTN AREA  KAROL BAGH, |               |\n|           |  WEST DELHI               |               |\n| Axis Bank | 794 JOSHI ROAD KAROL  BAG | +919810840772 |\n|           | H NEW DELHI-110005        |               |\n+-----------+---------------------------+---------------+\n\n```\n\n\u003e For more search options refer `ifsc search --help`\n\n# Build From Source 🛠️\n\n### Linux\n\nTested with Go `\u003e=1.19` \u0026 might work with Go versions `\u003e=1.16` too.\n\n```bash\n# after cloning  this repo, cd into it\ncd go-ifsc/\n\n# build the binary, public/ will contain the built binaries\nbash build.sh\n```\n\n# License ⚖️\n\nAll the code is licensed under `GPLv3` \u0026 server code is `AGPLv3` license\n\n# Credits 🤝\n\n- [Razorpay IFSC](https://github.com/razorpay/ifsc/releases) repository for the csv dump\n- [Bleve](https://pkg.go.dev/github.com/blevesearch/bleve/v2) search library\n- [Cobra](https://github.com/spf13/cobra) CLI library\n- Many thanks to [Dhruvin](https://dhruvin.dev/) for his suggestions in the design aspects\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkskarthik%2Fgo-ifsc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkskarthik%2Fgo-ifsc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkskarthik%2Fgo-ifsc/lists"}