{"id":19967587,"url":"https://github.com/ceramicstudio/orbisdb-chatbot","last_synced_at":"2025-09-11T13:05:38.109Z","repository":{"id":246380278,"uuid":"820651488","full_name":"ceramicstudio/orbisdb-chatbot","owner":"ceramicstudio","description":"Realtime chat using GraphQL Live Queries, Next.js, and OrbisDB.","archived":false,"fork":false,"pushed_at":"2025-02-25T18:00:15.000Z","size":2019,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-01T17:47:49.192Z","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/ceramicstudio.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-26T22:52:14.000Z","updated_at":"2025-01-09T13:17:04.000Z","dependencies_parsed_at":"2024-06-27T18:03:57.108Z","dependency_job_id":"3d9efbd2-7b5e-469c-b942-ecfc94bd83d8","html_url":"https://github.com/ceramicstudio/orbisdb-chatbot","commit_stats":null,"previous_names":["ceramicstudio/orbisdb-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ceramicstudio/orbisdb-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceramicstudio%2Forbisdb-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceramicstudio%2Forbisdb-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceramicstudio%2Forbisdb-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceramicstudio%2Forbisdb-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ceramicstudio","download_url":"https://codeload.github.com/ceramicstudio/orbisdb-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ceramicstudio%2Forbisdb-chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274640911,"owners_count":25322843,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-13T02:42:46.579Z","updated_at":"2025-09-11T13:05:38.080Z","avatar_url":"https://github.com/ceramicstudio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OrbisDB Chat Bot\n\nRealtime chat using OpenAI, Next.js, and OrbisDB.\n\n## Getting Started\n\n1. Install your dependencies:\n\n```bash\nnpm install\n```\n\n2. Copy the [env example](.env.example) file and rename it `.env`\n\n3. Create a WalletConnect project ID by visiting https://cloud.walletconnect.com/sign-in, create a new project (with a name of your choosing and the `App` type selected), and copy the `Project ID` key once available. \n\nOnce copied, assign it to `NEXT_PUBLIC_PROJECT_ID` in your .env file\n\n4. Visit [OpenAI's API Signup](https://platform.openai.com/signup) page to create an account if you don't yet have one and generate an API key.\n\nAt the time of writing this tutorial, OpenAI is offering a free OpenAI API trial, with $5 worth of credit (which can take you a LONGGG way).\n\nInclude in your .env file:\n\n`OPENAI_API_KEY=\"sk-thisisabunchofL3ttersandNum8ers\"`\n\n5. Visit the [Orbis Studio](https://studio.useorbis.com/) and create a free account if you do not already have one. \n\nFirst, set up a new context (required to use a shared instance). Assign this to `NEXT_PUBLIC_CONTEXT_ID` in your .env file.\n\nNext, navigate to the [model builder](https://studio.useorbis.com/models) view and use the [table reference](models/tables.sql) to define your tables. Use the corresponding model IDs to assign to `NEXT_PUBLIC_POST_ID` and `NEXT_PUBLIC_PROFILE_ID` in your .env file.\n\nFinally, click the \"Contexts\" tab in the studio navbar and copy your environment ID from the left-hand side of the screen. Assign the value to `NEXT_PUBLIC_ENV_ID` in your .env file.\n\n6. Run the application:\n\n#### Development\n```bash\nnvm use 20\nnpm run dev\n```\n\n## Learn More\n\nTo learn more about OrbisDB please visit the following links\n\n- [OrbisDB Overview](https://developers.ceramic.network/docs/orbisdb/overview) \n- [OrbisDB SDK](https://developers.ceramic.network/docs/orbisdb/orbisdb-sdk) \n- [OrbisDB Website](https://useorbis.com/) \n\n## Credit\n\nCredit to [ChatBase](https://github.com/notrab/chatbase) for an awesome template to work with.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceramicstudio%2Forbisdb-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceramicstudio%2Forbisdb-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceramicstudio%2Forbisdb-chatbot/lists"}