Compare commits

..

3 Commits

Author SHA1 Message Date
Renovate Bot
37bd7696eb Update plugin org.jetbrains.kotlin.multiplatform to v1.6.21 2022-04-30 04:08:46 +00:00
1c16a9f868 Create README.md 2022-04-30 08:47:35 +06:00
00c3aba12b Merge pull request #97 from InsanusMokrassar/0.38.16
0.38.16
2022-04-30 08:40:17 +06:00
2 changed files with 18 additions and 1 deletions

17
WebApp/README.md Normal file
View File

@@ -0,0 +1,17 @@
# WebApp
Here you may find simple example of `WebApp`. For work of this example you will need one of two things:
* Your own domain with SSL (letsencrypt is okay)
* Test account in telegram
What is there in this module:
* JVM part of this example is a server with simple static webapp sharing and bot which just gives the webapp button to open webapp
* JS part is the WebApp with one button and reacting to chaged user theme and app viewport
## How to run
```kotlin
./gradlew run --args="TOKEN WEB_APP_ADDRESS"
```

View File

@@ -2,7 +2,7 @@ kotlin.code.style=official
org.gradle.parallel=true
kotlin_version=1.6.10
kotlin_version=1.6.21
telegram_bot_api_version=0.38.16
micro_utils_version=0.9.24
ktor_version=1.6.8