Skip to content

Commit

Permalink
Merge pull request #34 from UselessStudio/release-0.3.0
Browse files Browse the repository at this point in the history
Release 0.3.0
  • Loading branch information
LowderPlay authored Jul 7, 2024
2 parents 8639a98 + 58acea9 commit 67681a9
Show file tree
Hide file tree
Showing 60 changed files with 4,723 additions and 767 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
end_of_line = lf
tab_width = 4
insert_final_newline = true
indent_style = space

[*.{json,yml,md,html}]
tab_width = 2

[*.{js,jsx,ts,tsx,py}]
charset = utf-8
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
VITE_BOT_USERNAME=TeleOTPAppBot
VITE_PLAUSIBLE_DOMAIN=teleotp.pages.dev
VITE_PLAUSIBLE_API_HOST=https://analytics.gesti.tech
VITE_PLAUSIBLE_API_HOST=https://analytics.gesti.tech
VITE_CHANNEL_LINK=https://t.me/teleotpapp
8 changes: 7 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
'plugin:react/recommended',
'plugin:react/jsx-runtime',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
ignorePatterns: ['dist', '.eslintrc.cjs', 'vite.config.ts'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
Expand All @@ -21,6 +21,12 @@ module.exports = {
'warn',
{ allowConstantExport: true },
],
'@typescript-eslint/restrict-template-expressions': [
'warn',
{
allowNumber: true,
}
]
},
parserOptions: {
ecmaVersion: 'latest',
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ dist-ssr
*.sw?
/src/migration/proto/generated/
/.env

docker-compose.yml
13 changes: 13 additions & 0 deletions bot/docker-compose.example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: '3'

services:
bot:
image: ghcr.io/uselessstudio/teleotp-bot:main
restart: unless-stopped
environment:
- TG_APP=https://t.me/TeleOTPAppBot/app
# For testing on localhost use http://127.0.0.1 instead of http://localhost
#! Do not use trailing slash
- WEBAPP_URL=https://uselessstudio.github.io/TeleOTP
# For using on beta server use token like: <token>/test
- TOKEN=<insert your token>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="viewport-fit=contain, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum scale=1.0, user-scalable=no" />
<title>Vite + React + TS</title>
<title>TeleOTP</title>
<script src="https://telegram.org/js/telegram-web-app.js"></script>
</head>
<body>
Expand Down
Loading

0 comments on commit 67681a9

Please sign in to comment.