{"id":19000467,"url":"https://github.com/typesense/showcase-guitar-chords-search-react-native","last_synced_at":"2025-09-06T09:33:12.092Z","repository":{"id":224938600,"uuid":"762451447","full_name":"typesense/showcase-guitar-chords-search-react-native","owner":"typesense","description":"A demo that shows how to implement Typesense in a React Native app","archived":false,"fork":false,"pushed_at":"2024-05-25T15:37:11.000Z","size":280,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-08T18:07:17.414Z","etag":null,"topics":["react-native","typesense"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/typesense.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-23T20:09:46.000Z","updated_at":"2024-05-31T07:06:18.000Z","dependencies_parsed_at":"2024-03-04T15:04:07.522Z","dependency_job_id":null,"html_url":"https://github.com/typesense/showcase-guitar-chords-search-react-native","commit_stats":null,"previous_names":["typesense/showcase-guitar-chords-search-react-native"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-guitar-chords-search-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-guitar-chords-search-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-guitar-chords-search-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typesense%2Fshowcase-guitar-chords-search-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typesense","download_url":"https://codeload.github.com/typesense/showcase-guitar-chords-search-react-native/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232110723,"owners_count":18474014,"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":["react-native","typesense"],"created_at":"2024-11-08T18:07:19.281Z","updated_at":"2025-01-01T18:17:36.475Z","avatar_url":"https://github.com/typesense.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n 🎸 Instant Guitar Chord Positions Search, powered by Typesense - React Native\n\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cdiv\u003e\u003ch3\u003eOther versions\u003c/h3\u003e\u003c/div\u003e\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-nuxt-js\"\u003eNuxtJS\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-next-js\"\u003eNextJS\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-angular\"\u003eAngular 15\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-vanilla-js\"\u003eVanilla JS\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-astro\"\u003eAstro\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-solid-js\"\u003eSolidJS\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-remix\"\u003eRemix\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-svelte-kit\"\u003eSveltekit\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-qwik\"\u003eQwik\u003c/a\u003e |\n  \u003ca href=\"https://github.com/typesense/showcase-guitar-chords-search-react-native\"\u003eReact Native\u003c/a\u003e\n\u003c/div\u003e\n\n## Tech Stack\n\n- \u003ca href=\"https://github.com/typesense/typesense\" target=\"_blank\"\u003eTypesense\u003c/a\u003e\n- React Native + Expo Go\n- Typescript\n- [typesense-instantsearch-adapter](https://github.com/typesense/typesense-instantsearch-adapter) + react-instantsearch-core\n\nAll make for a blazingly fast search experience 🔥🔥🔥\n\nThe guitar chord dataset \u0026 chord svg generation is from \u003ca href=\"https://github.com/tombatossals/chords-db\" target=\"_blank\"\u003etombatossals\u003c/a\u003e which contains 2141 chord shapes of 552 chords.\n\n## Project Structure\n\n```bash\n/\n├── scripts/\n│   ├── data/\n│   │   ├── guitar.json\n│   │   └── schema.json\n│   └── indexTypesense.ts # script that index data from guitar.json into typesense server\n├── src/\n│   ├── components/\n│   │   └── UI components...\n│   └── utils/\n│       ├── reactChords.ts # draw guitar chord svg\n│       └── typesense.ts # typesense-instantsearch-adapter config\n└── App.tsx # guitar chords search\n```\n\n## Development\n\nTo run this project locally, make sure you have docker and nodejs, install the dependencies and start the local server:\n\nInstallation\n\n```shell\ngit clone https://github.com/typesense/showcase-guitar-chords-search-react-native.git\n\ncd showcase-guitar-chords-search-react-native\n\nnpm i\n```\n\nStart typesense server\n\n```shell\nnpm run start:typesense # or: docker compose up\n```\n\nIndex data into typesense\n\n```shell\nnpm run index:typesense\n```\n\nStart the dev web app\n\n```shell\nnpm run start\n# or\nnpm run android\nnpm run ios\nnpm run web\n```\n\n## Deployment\n\nSet env variables to point the app to the Typesense Cluster\n\n```env\nEXPO_PUBLIC_TYPESENSE_SEARCH_ONLY_API_KEY=xxx\nEXPO_PUBLIC_TYPESENSE_HOST=xxx.typesense.net\nEXPO_PUBLIC_TYPESENSE_PORT=443\nEXPO_PUBLIC_TYPESENSE_PROTOCOL=https\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesense%2Fshowcase-guitar-chords-search-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypesense%2Fshowcase-guitar-chords-search-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypesense%2Fshowcase-guitar-chords-search-react-native/lists"}