├── .dockerignore ├── .env.development.example ├── .env.local.example ├── .env.production.example ├── .eslintrc.js ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ ├── 1-bug-report.yml │ ├── 2-failing-test.yml │ ├── 3-docs-bug.yml │ ├── 4-feature-request.yml │ ├── 5-enhancement-request.yml │ ├── 6-security-report.yml │ ├── 7-question-support.yml │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md ├── config.yml ├── labels.yml └── workflows │ ├── ci.yml │ ├── labels.yml │ ├── pull_request.yml │ └── versioning.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .huskyrc ├── .lintstagedrc ├── .npmrc ├── .nvmrc ├── .vscode ├── extensions.json ├── launch.json └── settings.json ├── Dockerfile ├── LICENSE ├── README.md ├── apps └── nextjs │ ├── README.md │ ├── next.config.mjs │ ├── package.json │ ├── postcss.config.js │ ├── public │ ├── favicon.ico │ └── indie-creators-hq-logo.svg │ ├── src │ ├── common │ │ ├── constants │ │ │ ├── errors.ts │ │ │ ├── general.ts │ │ │ ├── index.ts │ │ │ ├── inputs.ts │ │ │ └── localStorage.ts │ │ ├── contexts │ │ │ ├── ExampleContext.tsx │ │ │ └── index.ts │ │ ├── hooks │ │ │ ├── index.ts │ │ │ ├── useDetectOS.ts │ │ │ ├── useExample.ts │ │ │ └── usePreventHotKey.ts │ │ ├── index.ts │ │ ├── types │ │ │ ├── index.ts │ │ │ ├── input.ts │ │ │ └── subscription.ts │ │ └── utils │ │ │ ├── helpers.ts │ │ │ ├── hotkeys.ts │ │ │ └── index.ts │ ├── components │ │ ├── Avatar │ │ │ └── Avatar.tsx │ │ ├── CommandMenu │ │ │ └── CommandMenu.tsx │ │ ├── Footers │ │ │ ├── RootFooter │ │ │ │ └── RootFooter.tsx │ │ │ └── index.ts │ │ ├── Icon │ │ │ └── Icon.tsx │ │ ├── Navigation │ │ │ ├── RootNavbar │ │ │ │ └── RootNavbar.tsx │ │ │ └── index.ts │ │ └── index.ts │ ├── data │ │ ├── index.ts │ │ └── languages.ts │ ├── env.mjs │ ├── layout │ │ ├── BaseLayout │ │ │ └── BaseLayout.tsx │ │ └── index.ts │ ├── pages │ │ ├── _app.tsx │ │ ├── _document.tsx │ │ ├── api │ │ │ ├── auth │ │ │ │ └── [...nextauth].ts │ │ │ ├── trpc │ │ │ │ └── [trpc].ts │ │ │ └── webhooks │ │ │ │ └── lemon-squeezy │ │ │ │ └── payment.ts │ │ ├── auth │ │ │ ├── error.tsx │ │ │ └── signin.tsx │ │ └── index.tsx │ ├── styles │ │ ├── globals.css │ │ └── vendors │ │ │ └── react-command-menu.css │ └── utils │ │ └── api.ts │ ├── tailwind.config.js │ └── tsconfig.json ├── commitlint.config.js ├── docker-compose.yml ├── docs ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ES │ ├── CODE_OF_CONDUCT_ES.md │ ├── CONTRIBUTING_ES.md │ ├── SECURITY_ES.md │ └── SUPPORT_ES.md ├── SECURITY.md └── SUPPORT.md ├── package.json ├── packages ├── ai │ ├── index.ts │ ├── package.json │ ├── src │ │ ├── common │ │ │ ├── constants │ │ │ │ ├── config.ts │ │ │ │ └── index.ts │ │ │ ├── helpers │ │ │ │ ├── index.ts │ │ │ │ └── parseExample.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── index.ts │ │ │ │ ├── prompt.ts │ │ │ │ └── textFormat.ts │ │ ├── condense │ │ │ ├── example.ts │ │ │ ├── handler.ts │ │ │ └── prompt.ts │ │ ├── detectLanguage │ │ │ ├── handler.ts │ │ │ └── prompt.ts │ │ ├── emoji │ │ │ ├── example.ts │ │ │ ├── handler.ts │ │ │ └── prompt.ts │ │ ├── formality │ │ │ ├── example.ts │ │ │ ├── handler.ts │ │ │ └── prompt.ts │ │ ├── grammar │ │ │ ├── handler.ts │ │ │ └── prompt.ts │ │ ├── improve │ │ │ ├── example.ts │ │ │ ├── handler.ts │ │ │ └── prompt.ts │ │ └── translate │ │ │ ├── handler.ts │ │ │ └── prompt.ts │ └── tsconfig.json ├── api │ ├── index.ts │ ├── package.json │ ├── src │ │ ├── common │ │ │ ├── constants │ │ │ │ ├── index.ts │ │ │ │ ├── prismaErrorCode.ts │ │ │ │ ├── response.ts │ │ │ │ └── trpcErrorCode.ts │ │ │ ├── index.ts │ │ │ ├── types │ │ │ │ ├── index.ts │ │ │ │ ├── lemonSqueezy.ts │ │ │ │ └── trpcRouter.ts │ │ │ └── utils │ │ │ │ ├── functions.ts │ │ │ │ └── index.ts │ │ ├── controllers │ │ │ ├── account.controller.ts │ │ │ ├── ai.controller.ts │ │ │ ├── lemonSqueezy.controller.ts │ │ │ ├── subscription.controller.ts │ │ │ ├── subscriptionPlan.controller.ts │ │ │ └── user.controller.ts │ │ ├── root.ts │ │ ├── router │ │ │ ├── account.ts │ │ │ ├── ai.ts │ │ │ ├── auth.ts │ │ │ ├── payment.ts │ │ │ ├── subscription.ts │ │ │ ├── subscriptionPlan.ts │ │ │ └── user.ts │ │ ├── schema │ │ │ ├── account.schema.ts │ │ │ ├── ai.schema.ts │ │ │ ├── lemonSqueezy.schema.ts │ │ │ ├── subscription.schema.ts │ │ │ ├── subscriptionPlan.schema.ts │ │ │ └── user.schema.ts │ │ └── trpc.ts │ └── tsconfig.json ├── auth │ ├── index.ts │ ├── package.json │ ├── src │ │ ├── auth-options.ts │ │ ├── get-session.ts │ │ └── utils │ │ │ └── api.ts │ └── tsconfig.json ├── config │ └── eslint │ │ ├── index.js │ │ └── package.json └── db │ ├── common │ ├── constants │ │ ├── index.ts │ │ └── subscriptionPlan.ts │ └── index.ts │ ├── index.ts │ ├── package.json │ ├── prisma │ └── schema.prisma │ └── tsconfig.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── postcss.config.js ├── prettier.config.mjs ├── renovate.json ├── tailwind.config.js ├── tsconfig.json └── turbo.json /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | postgres_data 3 | -------------------------------------------------------------------------------- /.env.development.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.env.development.example -------------------------------------------------------------------------------- /.env.local.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.env.local.example -------------------------------------------------------------------------------- /.env.production.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.env.production.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/1-bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE/1-bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2-failing-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE/2-failing-test.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/3-docs-bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE/3-docs-bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/4-feature-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE/4-feature-request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/5-enhancement-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE/5-enhancement-request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/6-security-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE/6-security-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/7-question-support.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE/7-question-support.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/config.yml -------------------------------------------------------------------------------- /.github/labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/labels.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/workflows/labels.yml -------------------------------------------------------------------------------- /.github/workflows/pull_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/workflows/pull_request.yml -------------------------------------------------------------------------------- /.github/workflows/versioning.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.github/workflows/versioning.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npx lint-staged -------------------------------------------------------------------------------- /.huskyrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.huskyrc -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.lintstagedrc -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.npmrc -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20.17.0 -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/README.md -------------------------------------------------------------------------------- /apps/nextjs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/README.md -------------------------------------------------------------------------------- /apps/nextjs/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/next.config.mjs -------------------------------------------------------------------------------- /apps/nextjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/package.json -------------------------------------------------------------------------------- /apps/nextjs/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../../postcss.config'); 2 | -------------------------------------------------------------------------------- /apps/nextjs/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/public/favicon.ico -------------------------------------------------------------------------------- /apps/nextjs/public/indie-creators-hq-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/public/indie-creators-hq-logo.svg -------------------------------------------------------------------------------- /apps/nextjs/src/common/constants/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/constants/errors.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/constants/general.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/constants/general.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/constants/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/constants/inputs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/constants/inputs.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/constants/localStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/constants/localStorage.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/contexts/ExampleContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/contexts/ExampleContext.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/common/contexts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ExampleContext'; 2 | -------------------------------------------------------------------------------- /apps/nextjs/src/common/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/hooks/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/hooks/useDetectOS.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/hooks/useDetectOS.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/hooks/useExample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/hooks/useExample.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/hooks/usePreventHotKey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/hooks/usePreventHotKey.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/types/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/types/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/types/input.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/types/subscription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/types/subscription.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/utils/helpers.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/utils/hotkeys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/utils/hotkeys.ts -------------------------------------------------------------------------------- /apps/nextjs/src/common/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/common/utils/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/components/Avatar/Avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/components/Avatar/Avatar.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/components/CommandMenu/CommandMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/components/CommandMenu/CommandMenu.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/components/Footers/RootFooter/RootFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/components/Footers/RootFooter/RootFooter.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/components/Footers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/components/Footers/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/components/Icon/Icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/components/Icon/Icon.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/components/Navigation/RootNavbar/RootNavbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/components/Navigation/RootNavbar/RootNavbar.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/components/Navigation/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/components/Navigation/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/components/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/data/index.ts: -------------------------------------------------------------------------------- 1 | export * from './languages'; 2 | -------------------------------------------------------------------------------- /apps/nextjs/src/data/languages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/data/languages.ts -------------------------------------------------------------------------------- /apps/nextjs/src/env.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/env.mjs -------------------------------------------------------------------------------- /apps/nextjs/src/layout/BaseLayout/BaseLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/layout/BaseLayout/BaseLayout.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/layout/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/layout/index.ts -------------------------------------------------------------------------------- /apps/nextjs/src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/pages/_app.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/pages/_document.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /apps/nextjs/src/pages/api/trpc/[trpc].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/pages/api/trpc/[trpc].ts -------------------------------------------------------------------------------- /apps/nextjs/src/pages/api/webhooks/lemon-squeezy/payment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/pages/api/webhooks/lemon-squeezy/payment.ts -------------------------------------------------------------------------------- /apps/nextjs/src/pages/auth/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/pages/auth/error.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/pages/auth/signin.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/pages/auth/signin.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/pages/index.tsx -------------------------------------------------------------------------------- /apps/nextjs/src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/styles/globals.css -------------------------------------------------------------------------------- /apps/nextjs/src/styles/vendors/react-command-menu.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/styles/vendors/react-command-menu.css -------------------------------------------------------------------------------- /apps/nextjs/src/utils/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/src/utils/api.ts -------------------------------------------------------------------------------- /apps/nextjs/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/tailwind.config.js -------------------------------------------------------------------------------- /apps/nextjs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/apps/nextjs/tsconfig.json -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docs/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/ES/CODE_OF_CONDUCT_ES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docs/ES/CODE_OF_CONDUCT_ES.md -------------------------------------------------------------------------------- /docs/ES/CONTRIBUTING_ES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docs/ES/CONTRIBUTING_ES.md -------------------------------------------------------------------------------- /docs/ES/SECURITY_ES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docs/ES/SECURITY_ES.md -------------------------------------------------------------------------------- /docs/ES/SUPPORT_ES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docs/ES/SUPPORT_ES.md -------------------------------------------------------------------------------- /docs/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docs/SECURITY.md -------------------------------------------------------------------------------- /docs/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/docs/SUPPORT.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/package.json -------------------------------------------------------------------------------- /packages/ai/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/index.ts -------------------------------------------------------------------------------- /packages/ai/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/package.json -------------------------------------------------------------------------------- /packages/ai/src/common/constants/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/common/constants/config.ts -------------------------------------------------------------------------------- /packages/ai/src/common/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './config'; 2 | -------------------------------------------------------------------------------- /packages/ai/src/common/helpers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './parseExample'; 2 | -------------------------------------------------------------------------------- /packages/ai/src/common/helpers/parseExample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/common/helpers/parseExample.ts -------------------------------------------------------------------------------- /packages/ai/src/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/common/index.ts -------------------------------------------------------------------------------- /packages/ai/src/common/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/common/types/index.ts -------------------------------------------------------------------------------- /packages/ai/src/common/types/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/common/types/prompt.ts -------------------------------------------------------------------------------- /packages/ai/src/common/types/textFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/common/types/textFormat.ts -------------------------------------------------------------------------------- /packages/ai/src/condense/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/condense/example.ts -------------------------------------------------------------------------------- /packages/ai/src/condense/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/condense/handler.ts -------------------------------------------------------------------------------- /packages/ai/src/condense/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/condense/prompt.ts -------------------------------------------------------------------------------- /packages/ai/src/detectLanguage/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/detectLanguage/handler.ts -------------------------------------------------------------------------------- /packages/ai/src/detectLanguage/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/detectLanguage/prompt.ts -------------------------------------------------------------------------------- /packages/ai/src/emoji/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/emoji/example.ts -------------------------------------------------------------------------------- /packages/ai/src/emoji/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/emoji/handler.ts -------------------------------------------------------------------------------- /packages/ai/src/emoji/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/emoji/prompt.ts -------------------------------------------------------------------------------- /packages/ai/src/formality/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/formality/example.ts -------------------------------------------------------------------------------- /packages/ai/src/formality/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/formality/handler.ts -------------------------------------------------------------------------------- /packages/ai/src/formality/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/formality/prompt.ts -------------------------------------------------------------------------------- /packages/ai/src/grammar/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/grammar/handler.ts -------------------------------------------------------------------------------- /packages/ai/src/grammar/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/grammar/prompt.ts -------------------------------------------------------------------------------- /packages/ai/src/improve/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/improve/example.ts -------------------------------------------------------------------------------- /packages/ai/src/improve/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/improve/handler.ts -------------------------------------------------------------------------------- /packages/ai/src/improve/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/improve/prompt.ts -------------------------------------------------------------------------------- /packages/ai/src/translate/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/translate/handler.ts -------------------------------------------------------------------------------- /packages/ai/src/translate/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/src/translate/prompt.ts -------------------------------------------------------------------------------- /packages/ai/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/ai/tsconfig.json -------------------------------------------------------------------------------- /packages/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/index.ts -------------------------------------------------------------------------------- /packages/api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/package.json -------------------------------------------------------------------------------- /packages/api/src/common/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/constants/index.ts -------------------------------------------------------------------------------- /packages/api/src/common/constants/prismaErrorCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/constants/prismaErrorCode.ts -------------------------------------------------------------------------------- /packages/api/src/common/constants/response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/constants/response.ts -------------------------------------------------------------------------------- /packages/api/src/common/constants/trpcErrorCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/constants/trpcErrorCode.ts -------------------------------------------------------------------------------- /packages/api/src/common/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/index.ts -------------------------------------------------------------------------------- /packages/api/src/common/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/types/index.ts -------------------------------------------------------------------------------- /packages/api/src/common/types/lemonSqueezy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/types/lemonSqueezy.ts -------------------------------------------------------------------------------- /packages/api/src/common/types/trpcRouter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/types/trpcRouter.ts -------------------------------------------------------------------------------- /packages/api/src/common/utils/functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/common/utils/functions.ts -------------------------------------------------------------------------------- /packages/api/src/common/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './functions'; 2 | -------------------------------------------------------------------------------- /packages/api/src/controllers/account.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/controllers/account.controller.ts -------------------------------------------------------------------------------- /packages/api/src/controllers/ai.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/controllers/ai.controller.ts -------------------------------------------------------------------------------- /packages/api/src/controllers/lemonSqueezy.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/controllers/lemonSqueezy.controller.ts -------------------------------------------------------------------------------- /packages/api/src/controllers/subscription.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/controllers/subscription.controller.ts -------------------------------------------------------------------------------- /packages/api/src/controllers/subscriptionPlan.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/controllers/subscriptionPlan.controller.ts -------------------------------------------------------------------------------- /packages/api/src/controllers/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/controllers/user.controller.ts -------------------------------------------------------------------------------- /packages/api/src/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/root.ts -------------------------------------------------------------------------------- /packages/api/src/router/account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/router/account.ts -------------------------------------------------------------------------------- /packages/api/src/router/ai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/router/ai.ts -------------------------------------------------------------------------------- /packages/api/src/router/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/router/auth.ts -------------------------------------------------------------------------------- /packages/api/src/router/payment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/router/payment.ts -------------------------------------------------------------------------------- /packages/api/src/router/subscription.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/router/subscription.ts -------------------------------------------------------------------------------- /packages/api/src/router/subscriptionPlan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/router/subscriptionPlan.ts -------------------------------------------------------------------------------- /packages/api/src/router/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/router/user.ts -------------------------------------------------------------------------------- /packages/api/src/schema/account.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/schema/account.schema.ts -------------------------------------------------------------------------------- /packages/api/src/schema/ai.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/schema/ai.schema.ts -------------------------------------------------------------------------------- /packages/api/src/schema/lemonSqueezy.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/schema/lemonSqueezy.schema.ts -------------------------------------------------------------------------------- /packages/api/src/schema/subscription.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/schema/subscription.schema.ts -------------------------------------------------------------------------------- /packages/api/src/schema/subscriptionPlan.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/schema/subscriptionPlan.schema.ts -------------------------------------------------------------------------------- /packages/api/src/schema/user.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/schema/user.schema.ts -------------------------------------------------------------------------------- /packages/api/src/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/src/trpc.ts -------------------------------------------------------------------------------- /packages/api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/api/tsconfig.json -------------------------------------------------------------------------------- /packages/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/auth/index.ts -------------------------------------------------------------------------------- /packages/auth/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/auth/package.json -------------------------------------------------------------------------------- /packages/auth/src/auth-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/auth/src/auth-options.ts -------------------------------------------------------------------------------- /packages/auth/src/get-session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/auth/src/get-session.ts -------------------------------------------------------------------------------- /packages/auth/src/utils/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/auth/src/utils/api.ts -------------------------------------------------------------------------------- /packages/auth/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/auth/tsconfig.json -------------------------------------------------------------------------------- /packages/config/eslint/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/config/eslint/index.js -------------------------------------------------------------------------------- /packages/config/eslint/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/config/eslint/package.json -------------------------------------------------------------------------------- /packages/db/common/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './subscriptionPlan'; 2 | -------------------------------------------------------------------------------- /packages/db/common/constants/subscriptionPlan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/db/common/constants/subscriptionPlan.ts -------------------------------------------------------------------------------- /packages/db/common/index.ts: -------------------------------------------------------------------------------- 1 | export * from './constants'; 2 | -------------------------------------------------------------------------------- /packages/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/db/index.ts -------------------------------------------------------------------------------- /packages/db/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/db/package.json -------------------------------------------------------------------------------- /packages/db/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/db/prisma/schema.prisma -------------------------------------------------------------------------------- /packages/db/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/packages/db/tsconfig.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prettier.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/prettier.config.mjs -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/renovate.json -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serudda/text-snap/HEAD/turbo.json --------------------------------------------------------------------------------