{"id":21165860,"url":"https://github.com/sidmohan0/pgccsf-bot","last_synced_at":"2025-03-14T16:44:51.584Z","repository":{"id":176460373,"uuid":"614714019","full_name":"sidmohan0/pgccsf-bot","owner":"sidmohan0","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-19T01:41:35.000Z","size":2923,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T10:09:53.421Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sidmohan0.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,"publiccode":null,"codemeta":null}},"created_at":"2023-03-16T06:56:17.000Z","updated_at":"2023-03-19T01:44:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b54829be-6d54-4809-8c7b-87515c027520","html_url":"https://github.com/sidmohan0/pgccsf-bot","commit_stats":null,"previous_names":["sidmohan0/pgccsf-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmohan0%2Fpgccsf-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmohan0%2Fpgccsf-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmohan0%2Fpgccsf-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidmohan0%2Fpgccsf-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sidmohan0","download_url":"https://codeload.github.com/sidmohan0/pgccsf-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243615336,"owners_count":20319726,"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":[],"created_at":"2024-11-20T14:47:09.016Z","updated_at":"2025-03-14T16:44:51.556Z","avatar_url":"https://github.com/sidmohan0.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\nI have added the handbook for the [Presidio Golf \u0026 Concordia Club] (https://pgccsf.com/getmedia/c544a939-6152-425e-80f8-f33827159a8a/PGCC_Golf_Handbook_04_1.aspx)\n\n\n## Getting Started\n\ntake a look at .env.example for what I put in as variables.  ultimately working towards making this a self-serve lookup tool that is updated with latest club rules/regulations and NCGA. Accuracy issues abound.  \n\n\n```bash\ncp .env.example .env\n```\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/en/download/) (v16 or higher i used v19.16.0)\n- [Yarn](https://classic.yarnpkg.com/en/docs/install/#mac-stable)\n- `wget` (on macOS, you can install this with `brew install wget`)\n\nNext, we'll need to load our data source.\n\n### Data Ingestion\n\nData ingestion happens in two steps.\n\nFirst, you should run\n\n```bash\nsh download.sh\n```\n\nThis will download our data source (in this case the Langchain docs ).\n\nNext, install dependencies and run the ingestion script:\n\n```bash\nyarn \u0026\u0026 yarn ingest\n```\n\nThis will parse the data, split text, create embeddings, store them in a vectorstore, and\nthen save it to the `data/` directory.\n\nWe save it to a directory because we only want to run the (expensive) data ingestion process once.\n\nThe Next.js server relies on the presence of the `data/` directory. Please\nmake sure to run this before moving on to the next step.\n\n### Running the Server\n\nThen, run the development server:\n\n```bash\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n### Deploying the server\n\nThe production version of this repo is hosted on\n[fly](https://chat-langchainjs.fly.dev/). To deploy your own server on Fly, you\ncan use the provided `fly.toml` and `Dockerfile` as a starting point.\n\n## Inspirations\n\n\n- [ChatLangChain](https://github.com/hwchase17/chat-langchain) - for the backend and data ingestion logic\n- [LangChain Chat NextJS](https://github.com/zahidkhawaja/langchain-chat-nextjs) - for the frontend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidmohan0%2Fpgccsf-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidmohan0%2Fpgccsf-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidmohan0%2Fpgccsf-bot/lists"}