{"id":36896102,"url":"https://github.com/livechat/developer-app-template-saas","last_synced_at":"2026-01-12T15:42:13.748Z","repository":{"id":212250386,"uuid":"730633624","full_name":"livechat/developer-app-template-saas","owner":"livechat","description":"Developer App SaaS template","archived":false,"fork":false,"pushed_at":"2024-11-13T10:38:22.000Z","size":1053,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-13T11:32:06.404Z","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/livechat.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-12-12T10:50:06.000Z","updated_at":"2024-08-23T07:08:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4d3309f-149e-4eb7-8ec5-bec544b5295e","html_url":"https://github.com/livechat/developer-app-template-saas","commit_stats":null,"previous_names":["livechat/developer-app-template-saas"],"tags_count":0,"template":true,"template_full_name":"livechat/developer-app-template-nextjs","purl":"pkg:github/livechat/developer-app-template-saas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Fdeveloper-app-template-saas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Fdeveloper-app-template-saas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Fdeveloper-app-template-saas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Fdeveloper-app-template-saas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/livechat","download_url":"https://codeload.github.com/livechat/developer-app-template-saas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Fdeveloper-app-template-saas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28341413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-12T15:42:13.641Z","updated_at":"2026-01-12T15:42:13.728Z","avatar_url":"https://github.com/livechat.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://platform.labs.text.com/console/favicon.ico\" widht=\"24px\" height=\"24px\" /\u003e Text Platform | App - Next.js SaaS boilerplate\n\nThis template bootstraps CRM-like [Text Platform App](https://platform.text.com/console/apps) with a predefined configuration and code responsible for:\n\n- integration with [LiveChat Widgets](https://platform.text.com/docs/extending-agent-app)\n- managing and persisting LiveChat customers using database\n\n## ℹ️ Content\n\nThe template is built using:\n\n- [Next.js](https://nextjs.org/) - web application framework\n- [Text | Design System](https://www.npmjs.com/package/@livechat/design-system-react-components) - shared components library\n- [Text Platform | Developer CLI](https://www.npmjs.com/package/@livechat/developer-cli) - terminal tool for managing app like in [Developer Console](https://platform.text.com/console)\n- [Text Platform | Developer UI](https://www.npmjs.com/package/@livechat/developer-ui-react) - library that provides useful wrappers for:\n  - Text Platform App ([@developer-sdk](https://www.npmjs.com/package/@livechat/developer-sdk#developer-app))\n  - Text Products widgets ([@agent-app-sdk](https://www.npmjs.com/package/@livechat/agent-app-sdk), [@helpdesk-sdk](https://www.npmjs.com/package/@livechat/helpdesk-sdk))\n\nThe template consists of:\n\n- [layout](app/layout.tsx) that wraps all app pages and utilizes [Text Platform | Developer UI](https://www.npmjs.com/package/@livechat/developer-ui-react#-usage) to provide cross-app access to [Text Platform App](https://www.npmjs.com/package/@livechat/developer-sdk#developer-app) instance with all of built-in features like [reporting](https://www.npmjs.com/package/@livechat/developer-sdk#reporting)\n- [page](\u003capp/(products)/livechat/(widgets)/details/page.tsx\u003e) for [LiveChat Details](https://platform.text.com/docs/extending-agent-app#details-section) widget - server component that loads current customer from database (if was already saved)\n  - [widget](\u003capp/(products)/livechat/(widgets)/details/widget.tsx\u003e) - client component that presents current customer details and triggers [server actions](prisma/api/index.ts) to save or remove it from database\n- [page](\u003capp/(products)/livechat/(widgets)/fullscreen/page.tsx\u003e) for [LiveChat Fullscreen](https://platform.text.com/docs/extending-agent-app#main-menu-fullscreen-app) widget - server component that loads all saved customers from database\n  - [widget](\u003capp/(products)/livechat/(widgets)/fullscreen/widget.tsx\u003e) - client component that presents list of saved customers and option to delete customer using [server actions](prisma/api/index.ts) to manage\n- [livechat.config.json](livechat.config.json) - contains app manifest that is used by [Text Platform | Developer CLI](https://www.npmjs.com/package/@livechat/developer-cli) to manage app\n\n## 🚀 Getting Started\n\nFirst, ensure that latest version of [Text Platform | Developer CLI](https://www.npmjs.com/package/@livechat/developer-cli) is installed on your machine:\n\n```sh\nnpm i -g @livechat/developer-cli\n```\n\nThen, install dependencies:\n\n```sh\nnpm install\n```\n\nNext, pull latest version of your app manifest:\n\n```sh\ntxdev app pull\n```\n\nYou can display your app in [Developer Console](https://platform.text.com/console):\n\n```sh\ntxdev app open\n```\n\nor start local development server running:\n\n```sh\nnpm run dev\n```\n\n## ⚙️ Available Scripts\n\n### `dev`\n\nRuns the app in the development mode.\nOpen http://localhost:3000 to view it in your browser.\nThe page will reload when you make changes.\nYou may also see any lint errors in the console.\n\nBefore running your dev environment don't forget you generate your database models and apply migrations:\n\n```\nnpm run generate\nnpm run migrate\n```\n\nKeep in mind that Prisma need access to your `DATABASE_URL` in `.env` file. Prepare it manually or used `txdev app vars pull` command.\n\n### `build`\n\nBuilds the app for production to the `.next` folder.\n\n### `start`\n\nStarts production ready Next.js web server.\n\n## 🧑‍💻 [Text Platform](https://platform.text.com/): who are we?\n\nBehind [Text](https://www.text.com/), there’s a [team of passionate people](https://www.text.com/team/) building online customer service software with online chat, help desk software, chatbot, and web analytics capabilities.\n\nWith a suite of five products ([LiveChat](https://www.livechat.com), [ChatBot](https://chatbot.com/), [HelpDesk](https://helpdesk.com/), [KnowledgeBase](https://www.knowledgebase.com/), and [OpenWidget](https://openwidget.com/)) and their powerful APIs, we power customer communication for 36,000 companies in 150 countries.\n\n[The Platform](https://platform.text.com/) is a range of products and services that can be used to build a variety of communication tools for businesses. Our [Developer Program](https://platform.text.com/developer-program) and [Marketplace](https://www.livechat.com/marketplace/) create an open ecosystem for developers, partners, and customers. With our [advanced APIs](https://platform.text.com/) and comprehensive [documentation](https://platform.text.com/docs), you can shape the future of communication with us — starting today.\n\n[Join our Discord](https://discord.com/invite/NcfJu3a9kM) to learn, get inspired, and meet other developers!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivechat%2Fdeveloper-app-template-saas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivechat%2Fdeveloper-app-template-saas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivechat%2Fdeveloper-app-template-saas/lists"}