{"id":27636193,"url":"https://github.com/omdxp/miracle","last_synced_at":"2025-04-23T20:33:18.558Z","repository":{"id":114492014,"uuid":"524766157","full_name":"omdxp/miracle","owner":"omdxp","description":"Read Quran and Get Info about Suar and Ajzaa","archived":false,"fork":false,"pushed_at":"2022-10-25T16:48:40.000Z","size":1359,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-31T15:30:11.192Z","etag":null,"topics":["gomodule","quran"],"latest_commit_sha":null,"homepage":"https://omdxp.github.io/miracle-docs/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/omdxp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2022-08-14T19:52:18.000Z","updated_at":"2023-03-07T06:25:22.000Z","dependencies_parsed_at":"2023-05-17T01:30:38.607Z","dependency_job_id":null,"html_url":"https://github.com/omdxp/miracle","commit_stats":null,"previous_names":["omar-belghaouti/miracle"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omdxp%2Fmiracle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omdxp%2Fmiracle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omdxp%2Fmiracle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omdxp%2Fmiracle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omdxp","download_url":"https://codeload.github.com/omdxp/miracle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250510201,"owners_count":21442574,"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":["gomodule","quran"],"created_at":"2025-04-23T20:33:17.887Z","updated_at":"2025-04-23T20:33:18.539Z","avatar_url":"https://github.com/omdxp.png","language":"Go","funding_links":[],"categories":["Other (122 projects)"],"sub_categories":["Go"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/48713070/184625968-de46ff9b-7826-48b1-b6a8-955907584765.png\" width=300 alt=\"miracle\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003emiracle\u003c/h1\u003e\n\u003cp align=\"center\"\u003eRead Quran and Get Info about Suar and Ajzaa\u003c/p\u003e\n\n[![Build Status](https://github.com/Omar-Belghaouti/miracle/workflows/Go%20test/badge.svg)](https://github.com/Omar-Belghaouti/miracle/actions?query=branch%3Amain)\n\n## Installation\n\n- Install the gomodule package with:\n\n```bash\ngo get -u github.com/Omar-Belghaouti/miracle\n```\n\n- Or import the package in your project:\n\n```go\nimport \"github.com/Omar-Belghaouti/miracle\"\n```\n\nAnd run:\n\n```bash\ngo mod tidy\n```\n\n## Quick Start\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/Omar-Belghaouti/miracle\"\n\t\"github.com/Omar-Belghaouti/miracle/ajzaa\"\n\t\"github.com/Omar-Belghaouti/miracle/suar\"\n)\n\nfunc main() {\n\tquran := miracle.Book()\n\tquran.SetLanguage(\"en\")\n\n\tsurah, err := quran.ReadSurah(suar.AAL_IMRAN)\n\tif err != nil {\n\t\tlog.Fatal(err.Error())\n\t}\n\tfmt.Println(surah.Name)\n\tfor k, v := range surah.Verse {\n\t\tfmt.Printf(\"%s: %s\\n\", k, v)\n\t}\n\n\tjuz, err := quran.GetJuzInfo(ajzaa.JUZ_19)\n\tif err != nil {\n\t\tlog.Fatal(err.Error())\n\t}\n\tfmt.Println(juz.Start)\n\n\tsurahInfo, err := quran.GetSurahInfo(suar.AL_ADIYAT)\n\tif err != nil {\n\t\tlog.Fatal(err.Error())\n\t}\n\tfmt.Println(surahInfo.Title)\n}\n```\n\n## Documentation\n\nCheck the documentation [website](https://omdxp.github.io/miracle-docs/) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomdxp%2Fmiracle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomdxp%2Fmiracle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomdxp%2Fmiracle/lists"}