-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d5de9f
commit fe9c001
Showing
3,621 changed files
with
253,768 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Dockerfile | ||
.dockerignore | ||
**/node_modules | ||
npm-debug.log | ||
README.md | ||
**/.next | ||
.git | ||
.github | ||
.turbo | ||
**/.env | ||
landing-page | ||
docs | ||
packages/scripts | ||
wordpress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.{js,json,yml}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Make sure to change this to your own random string of 32 characters (https://docs.typebot.io/self-hosting/docker#2-add-the-required-configuration) | ||
ENCRYPTION_SECRET=H+KbL/OFrqbEuDy/1zX8bsPG+spXri3S | ||
|
||
DATABASE_URL=postgresql://postgres:typebot@localhost:5432/typebot | ||
|
||
NEXTAUTH_URL=http://localhost:3000 | ||
NEXT_PUBLIC_VIEWER_URL=http://localhost:3001 | ||
|
||
GITHUB_CLIENT_ID=534b549dd17709a743a2 | ||
GITHUB_CLIENT_SECRET=7adb03507504fb1a54422f6c3c697277cfd000a9 | ||
|
||
S3_ACCESS_KEY=minio | ||
S3_SECRET_KEY=minio123 | ||
S3_BUCKET=typebot | ||
S3_PORT=9000 | ||
S3_ENDPOINT=localhost | ||
S3_SSL=false | ||
|
||
# For more configuration options check out: https://docs.typebot.io/self-hosting/configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Make sure to change this to your own random string of 32 characters (https://docs.typebot.io/self-hosting/docker#2-add-the-required-configuration) | ||
ENCRYPTION_SECRET=do+UspMmB/rewbX2K/rskFmtgGSSZ8Ta | ||
|
||
DATABASE_URL=postgresql://postgres:typebot@typebot-db:5432/typebot | ||
|
||
NEXTAUTH_URL= | ||
NEXT_PUBLIC_VIEWER_URL= | ||
|
||
ADMIN_EMAIL= | ||
# For more configuration options check out: https://docs.typebot.io/self-hosting/configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
github: baptisteArno |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Automatically add issues to projects when labeled | ||
|
||
on: | ||
issues: | ||
types: | ||
- labeled | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/users/baptisteArno/projects/4 | ||
github-token: ${{ secrets.PERSONAL_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
name: Create Release | ||
|
||
jobs: | ||
build: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Extract body from changelog | ||
run: | | ||
NEW_VERSION=$(echo '${{ github.ref }}' | sed 's/refs\/tags\/v//') | ||
echo $NEW_VERSION | ||
sed -n -e "/## ${NEW_VERSION}/,/<a/ p" ./CHANGELOG.md | sed -e '1,2d' | sed -e '$d' | sed -e '$d' > extractedBody.md | ||
- name: Create Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
bodyFile: 'extractedBody.md' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Create Tag | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
create-tag: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: '${{ secrets.PERSONAL_TOKEN }}' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: 'Create main tag' | ||
id: 'main' | ||
uses: butlerlogic/[email protected] | ||
with: | ||
tag_prefix: 'v' | ||
|
||
- name: 'Create latest tag' | ||
if: ${{ contains(steps.main.outputs.tagname, 'v') }} | ||
uses: EndBug/latest-tag@latest | ||
|
||
- name: 'Create js tag' | ||
uses: butlerlogic/[email protected] | ||
with: | ||
root: '/packages/embeds/js' | ||
tag_prefix: 'js-v' | ||
|
||
- name: 'Create react tag' | ||
uses: butlerlogic/[email protected] | ||
with: | ||
root: '/packages/embeds/react' | ||
tag_prefix: 'react-v' | ||
|
||
- name: 'Create nextjs tag' | ||
uses: butlerlogic/[email protected] | ||
with: | ||
root: '/packages/embeds/nextjs' | ||
tag_prefix: 'nextjs-v' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Check and report chats usage | ||
|
||
on: | ||
schedule: | ||
- cron: '0 * * * *' | ||
|
||
jobs: | ||
send: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/scripts | ||
env: | ||
DATABASE_URL: '${{ secrets.DATABASE_URL }}' | ||
ENCRYPTION_SECRET: '${{ secrets.ENCRYPTION_SECRET }}' | ||
NEXTAUTH_URL: 'http://localhost:3000' | ||
NEXT_PUBLIC_VIEWER_URL: 'http://localhost:3001' | ||
TELEMETRY_WEBHOOK_URL: '${{ secrets.TELEMETRY_WEBHOOK_URL }}' | ||
TELEMETRY_WEBHOOK_BEARER_TOKEN: '${{ secrets.TELEMETRY_WEBHOOK_BEARER_TOKEN }}' | ||
SMTP_USERNAME: '${{ secrets.SMTP_USERNAME }}' | ||
SMTP_PASSWORD: '${{ secrets.SMTP_PASSWORD }}' | ||
SMTP_HOST: '${{ secrets.SMTP_HOST }}' | ||
SMTP_PORT: '${{ secrets.SMTP_PORT }}' | ||
NEXT_PUBLIC_SMTP_FROM: '${{ secrets.NEXT_PUBLIC_SMTP_FROM }}' | ||
STRIPE_SECRET_KEY: '${{ secrets.STRIPE_SECRET_KEY }}' | ||
STRIPE_STARTER_PRICE_ID: '${{ secrets.STRIPE_STARTER_PRICE_ID }}' | ||
STRIPE_STARTER_CHATS_PRICE_ID: '${{ secrets.STRIPE_STARTER_CHATS_PRICE_ID }}' | ||
STRIPE_PRO_PRICE_ID: '${{ secrets.STRIPE_PRO_PRICE_ID }}' | ||
STRIPE_PRO_CHATS_PRICE_ID: '${{ secrets.STRIPE_PRO_CHATS_PRICE_ID }}' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo run checkAndReportChatsUsage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Daily database cleanup | ||
|
||
on: | ||
schedule: | ||
- cron: '0 6 * * *' | ||
|
||
jobs: | ||
clean: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/scripts | ||
env: | ||
DATABASE_URL: '${{ secrets.DATABASE_URL }}' | ||
ENCRYPTION_SECRET: '${{ secrets.ENCRYPTION_SECRET }}' | ||
NEXTAUTH_URL: 'http://localhost:3000' | ||
NEXT_PUBLIC_VIEWER_URL: 'http://localhost:3001' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo run db:cleanDatabase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Publish typebot-js to NPM | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'js-lib-v*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo build --filter=typebot-js... | ||
- name: Set NPM_TOKEN in config | ||
run: pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} | ||
working-directory: ./packages/typebot-js | ||
- name: Publish | ||
run: pnpm publish --no-git-checks --access public | ||
working-directory: ./packages/typebot-js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish @typebot.io/js package to NPM | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'js-v*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo build [email protected]/js... | ||
- run: cd packages/embeds/js && pnpm publish --no-git-checks --access public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish @typebot.io/nextjs package to NPM | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'nextjs-v*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo build [email protected]/nextjs... | ||
- run: cd packages/embeds/nextjs && pnpm publish --no-git-checks --access public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish @typebot.io/react package to NPM | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'react-v*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo build [email protected]/react... | ||
- run: cd packages/embeds/react && pnpm publish --no-git-checks --access public |
Oops, something went wrong.