kaufman-bot
runner
kaufman-bot | runner | |
---|---|---|
12 | 59 | |
23 | 4,542 | |
- | 2.2% | |
0.0 | 9.1 | |
over 1 year ago | 5 days ago | |
TypeScript | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kaufman-bot
-
Add "demo-taxi-orders" command in Telegram bot on NestJS
https://github.com/EndyKaufman/kaufman-bot/tree/master/libs/demo-taxi-orders/server/src/lib - source code of command
-
Add support use inlineKeyboard in Telegram bot on NestJS
https://github.com/EndyKaufman/kaufman-bot - source code of bot
-
Add schematics for create empty kaufman-bot applications and library in Telegram bot on NestJS
{ "name": "@kaufman-bot/schematics", "description": "The Nx Plugin for Nest that contains executors and generators for allowing your workspace to create KaufmanBot APIs.", "license": "MIT", "author": "EndyKaufman ", "keywords": [ "Monorepo", "Node", "Nest", "CLI", "kaufman-bot", "nx", "schematics", "nests", "telegram" ], "bugs": { "url": "https://github.com/EndyKaufman/kaufman-bot/issues" }, "homepage": "https://github.com/EndyKaufman/kaufman-bot", "repository": { "type": "git", "url": "git+https://github.com/EndyKaufman/kaufman-bot.git" }, "maintainers": [ { "name": "EndyKaufman", "email": "[email protected]" } ], "readme": "README.md", "main": "./index.js", "typings": "./index.d.ts", "schematics": "./generators.json", "dependencies": { "@nrwl/devkit": "13.8.1", "@nrwl/linter": "13.8.1", "@nrwl/node": "13.8.1", "@nrwl/js": "^13.10.2", "@nrwl/jest": "13.8.1", "@nestjs/schematics": "^8.0.0" }, "version": "2.2.2", "i18n": [ { "scope": "schematics", "path": "src/i18n", "strategy": "join" } ] }
-
Publish all the libraries in Telegram bot on NestJS to the npm registry
{ "name": "@kaufman-bot/core-server", "description": "Core commands and tools", "license": "MIT", "author": "EndyKaufman ", "keywords": [ "kaufman-bot", "nx", "nests", "telegram", "core" ], "bugs": { "url": "https://github.com/EndyKaufman/kaufman-bot/issues" }, "homepage": "https://github.com/EndyKaufman/kaufman-bot", "repository": { "type": "git", "url": "git+https://github.com/EndyKaufman/kaufman-bot.git" }, "maintainers": [ { "name": "EndyKaufman", "email": "[email protected]" } ], "readme": "README.md", "i18n": [ { "scope": "core-server", "path": "src/i18n", "strategy": "join" }, { "scope": "core-server-getText", "path": "src/i18n/getText", "strategy": "join" } ], "version": "2.1.0", "peerDependencies": { "@nestjs/common": "^8.0.0", "nestjs-custom-injector": "^1.0.1", "nestjs-translates": "^1.0.3", "class-validator-multi-lang": "^0.130.201", "micromatch": "^4.0.5", "mustache": "^4.2.0", "telegraf": "^4.7.0" } }
-
Append standard-version and create changelog with released features and fixes in Telegram bot on NestJS
{ "name": "kaufman-bot", "version": "1.4.0-alpha.13", "description": "Example of simple bot for telegram", "keywords": [ "telegram", "telegram-bot", "nestjs", "custom-injector" ], "license": "MIT", "author": "EndyKaufman ", "engines": { "node": ">=16", "npm": ">=7" }, "bugs": { "url": "https://github.com/EndyKaufman/kaufman-bot/issues" }, "homepage": "https://github.com/EndyKaufman/kaufman-bot", "repository": { "type": "git", "url": "git+https://github.com/EndyKaufman/kaufman-bot.git" }, "maintainers": [ { "name": "EndyKaufman", "email": "[email protected]" } ], "scripts": { "rucken": "rucken", "nx": "nx", "start": "echo $GOOGLE_CREDENTIALS | base64 --decode > ./$GOOGLE_APPLICATION_CREDENTIALS && node dist/apps/server/main.js", "build": "npm run nx -- build server", "test": "nx test", "serve": "npm run nx -- serve server", "serve:local": "export $(xargs < ./.env.local) > /dev/null 2>&1 && npm run serve", "prepare": "husky install", "lint": "npm run tsc:lint && nx workspace-lint && npm run nx -- run-many --target=lint --all", "lint:fix": "npm run tsc:lint && nx workspace-lint --fix && nx run-many --target=lint --all --fix && nx format:write --all", "tsc:lint": "tsc --noEmit -p tsconfig.base.json", "generate": "npm run prisma:generate && npm run rucken -- prepare --locales=en,ru && npm run lint:fix", "docker:dev:down": "export $(xargs < ./.env.local) > /dev/null 2>&1 && ./docker/dev/docker-compose-down.sh", "docker:dev:restart": "npm run docker:dev:down && npm run docker:dev:up", "docker:dev:up": "export $(xargs < ./.env.local) > /dev/null 2>&1 && ./docker/dev/docker-compose-up.sh", "docker:dev:clean-down": "export $(xargs < ./.env.local) > /dev/null 2>&1 && ./docker/dev/docker-compose-clean-down.sh", "docker:dev:clean-restart": "npm run docker:dev:clean-down && npm run docker:dev:up", "docker:prod:build-sources": "npm run build", "docker:prod:down": "export $(xargs < ./.env.local) > /dev/null 2>&1 && ./docker/prod/docker-compose-down.sh", "docker:prod:restart": "npm run docker:prod:down && npm run docker:prod:up", "docker:prod:up": "export $(xargs < ./.env.local) > /dev/null 2>&1 && npm run docker:prod:build-sources && ./docker/prod/docker-compose-up.sh", "docker:prod:clean-down": "export $(xargs < ./.env.local) > /dev/null 2>&1 && ./docker/prod/docker-compose-clean-down.sh", "docker:prod:clean-restart": "npm run docker:prod:clean-down && npm run docker:prod:up", "flyway": "flyway -c .flyway.js", "migrate": "npm run flyway -- migrate", "migrate:local": "export $(xargs < ./.env.local) > /dev/null 2>&1 && export DATABASE_URL=$SERVER_POSTGRES_URL && npm run migrate", "prisma": "prisma", "prisma:pull": "npm run -- prisma db pull && npm run prisma:generate", "prisma:pull:local": "export $(xargs < ./.env.local) > /dev/null 2>&1 && export DATABASE_URL=$SERVER_POSTGRES_URL && npm run -- prisma db pull && npm run prisma:generate", "prisma:generate": "npm run -- prisma generate", "postinstall": "npm run generate", "app:build": "npm run generate && npm run build && npm run app:build-changelog", "app:release": "standard-version", "app:create-release": "npm run app:build && npm run app:release && git push --follow-tags origin feature/73", "app:build-changelog": "./node_modules/.bin/cp-cli ./CHANGELOG.md ./dist/libs/kaufman-bot/CHANGELOG.md" }, "private": true, "devDependencies": { "@nestjs/schematics": "^8.0.0", "@nestjs/testing": "^8.0.0", "@nrwl/cli": "13.8.1", "@nrwl/eslint-plugin-nx": "13.8.1", "@nrwl/jest": "13.8.1", "@nrwl/linter": "13.8.1", "@nrwl/nest": "13.8.1", "@nrwl/node": "13.8.1", "@nrwl/tao": "13.8.1", "@nrwl/workspace": "13.8.1", "@types/jest": "27.0.2", "@types/micromatch": "^4.0.2", "@types/mustache": "^4.1.2", "@types/node": "14.14.33", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "~5.10.0", "@typescript-eslint/parser": "~5.10.0", "cp-cli": "^2.0.0", "eslint": "~8.7.0", "eslint-config-prettier": "8.1.0", "husky": "^7.0.4", "jest": "27.2.3", "lint-staged": "^12.3.3", "node-flywaydb": "^3.0.7", "prettier": "2.5.1", "prisma": "^3.11.1", "rucken": "^3.5.3", "standard-version": "^9.3.2", "ts-jest": "27.0.5", "typescript": "~4.3.5" }, "dependencies": { "@google-cloud/dialogflow": "^4.7.0", "@nestjs/common": "^8.0.0", "@nestjs/core": "^8.0.0", "@nestjs/platform-express": "^8.0.0", "@prisma/client": "^3.11.1", "axios": "^0.26.0", "charset": "^1.0.1", "cheerio": "^1.0.0-rc.10", "class-transformer": "^0.5.1", "class-transformer-global-storage": "^0.4.1-1", "class-validator-multi-lang": "^0.130.201", "connection-string": "^4.3.5", "encoding": "^0.1.13", "env-var": "^7.1.1", "html-to-text": "^8.1.0", "jschardet": "^3.0.0", "micromatch": "^4.0.5", "mustache": "^4.2.0", "nestjs-custom-injector": "^1.0.1", "nestjs-telegraf": "^2.4.0", "nestjs-translates": "^1.0.3", "pg": "^8.7.3", "pg-promise": "^10.11.1", "reflect-metadata": "^0.1.13", "rxjs": "^7.0.0", "telegraf": "^4.7.0", "tslib": "^2.0.0", "uuid": "^8.3.2" }, "lint-staged": { "*.{js,ts}": "eslint --fix", "*.{js,ts,css,scss,md,yml,yaml,prisma}": "prettier --ignore-unknown --write" } }
-
Hide system commands from users and add bot description to Telegram bot on NestJS
In next post I append semver and create changelog with released features and fixes, and maybe I close issue https://github.com/EndyKaufman/kaufman-bot/issues/73...
-
Create a database in dokku infra and set up run flyway migration from github runner
root@vps17825:~/actions-runner# ./config.sh --url https://github.com/EndyKaufman/kaufman-bot --token TOKEN_FOR_RUNNER -------------------------------------------------------------------------------- | ____ _ _ _ _ _ _ _ _ | | / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ | | | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| | | | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ | | \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ | | | | Self-hosted runner registration | | | -------------------------------------------------------------------------------- # Authentication √ Connected to GitHub # Runner Registration Enter the name of the runner group to add this runner to: [press Enter for Default] Enter the name of runner: [press Enter for vps17825] develop-vps This runner will have the following labels: 'self-hosted', 'Linux', 'X64' Enter any additional labels (ex. label-1,label-2): [press Enter to skip] develop-vps √ Runner successfully added √ Runner connection is good # Runner settings Enter name of work folder: [press Enter for _work] √ Settings Saved. root@vps17825:~/actions-runner#
-
Add dev and prod infrastructure on docker compose for NestJS application
https://github.com/EndyKaufman/kaufman-bot - source code of bot
- Use nestjs-custom-injector to create dynamic handlers in NestJS when creating a telegram bot
- Add new dictionaries with translations to NestJS application using poedit.net
runner
- 20-line PR to add key Docker feature to GitHub Actions, please upvote
-
Why the fuck are we templating YAML? (2019)
In the case of GitHub Actions, it's made more painful by the lack of support for YAML anchors, which provide a bare minimum of composability.
https://github.com/actions/runner/issues/1182
- please dont state this as a "workaround". your version simply "pretends" it is a tty when infact it is not an actual tty
-
PySide vs. .NET WinForms for a Desktop GUI App in 2023?
Even if you don’t pick Avalonia, their notes for Mac distribution look useful:
https://docs.avaloniaui.net/docs/distribution-publishing/mac...
For example, the GitHub actions runner itself is a modern .NET core project with CI except for .app packaging.
https://github.com/actions/runner/tree/main/.github/workflow...
-
GitHub Actions Are a Problem
This probably answers your question:
https://github.com/actions/runner/blob/a4c57f27477077e57545a...
-
DevOps CI/CD Quick Start Guide with GitHub Actions 🛠️🐙⚡️
$ mkdir actions-runner && cd actions-runner $ curl -o actions-runner-osx-arm64-2.311.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.311.0/actions-runner-osx-arm64-2.311.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 98.1M 100 98.1M 0 0 20.0M 0 0:00:04 0:00:04 --:--:-- 23.5M $ echo "fa2f107dbce709807bae014fb3121f5dbe106211b6bbe3484c41e3b30828d6b2 actions-runner-osx-arm64-2.311.0.tar.gz" | shasum -a 256 -c actions-runner-osx-arm64-2.311.0.tar.gz: OK $ tar xzf ./actions-runner-osx-arm64-2.311.0.tar.gz ❯ ./config.sh --url https://github.com/dpills/devops-quick-start-guide --token AGDCRGCMZWN34QIVISIO5XXXXXX -------------------------------------------------------------------------------- | ____ _ _ _ _ _ _ _ _ | | / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ | | | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| | | | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ | | \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ | | | | Self-hosted runner registration | | | -------------------------------------------------------------------------------- # Authentication √ Connected to GitHub # Runner Registration Enter the name of the runner group to add this runner to: [press Enter for Default] Enter the name of runner: [press Enter for dpills-mac] This runner will have the following labels: 'self-hosted', 'macOS', 'ARM64' Enter any additional labels (ex. label-1,label-2): [press Enter to skip] √ Runner successfully added √ Runner connection is good # Runner settings Enter name of work folder: [press Enter for _work] √ Settings Saved. ❯ ./run.sh √ Connected to GitHub Current runner version: '2.311.0' 2023-10-27 13:32:16Z: Listening for Jobs
-
Automate Flutter app delivery to AppCenter with GitHub Actions
A runner is where your action's jobs will be run. It can be a hosted virtual environment, or you can self-host a runner in your machine.
- GitHub Actions Frequently Failing
- Runners fail to set up job with tar -xzf error
-
How to deal with MSVC in DevOps
If i understand this writing correctly (https://github.com/actions/runner/issues/904), running Windows containers in a windows-latest GH Actions host is not possible. While using a self-hosted runner on a Windows server might be an option, this is not what I want since it is a package repo for a well-known open source project, think of the package repo part as a mini-Conan. I wouldn't know who would want to host that. In the best case we would stay with just GH Actions to keep everything confined in one space :)
What are some alternatives?
telegram-bot-starter - Telegram bot starter based on grammY
act - Run your GitHub Actions locally 🚀
schematics-example
azure-pipelines-agent - Azure Pipelines Agent 🚀
TediCross - Bot which bridges Telegram chats with Discord channels
virtual-environments - GitHub Actions runner images [Moved to: https://github.com/actions/runner-images]
raspberry-instock-check - 🔔 Get an alert on Telegram when there are Raspberry in stock ready to buy
github-act-runner - act as self-hosted runner
mockoon - Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
docker-github-runner-linux - Repository for building a self hosted GitHub runner as a ubuntu linux container
duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>
actions-runner-controller - Kubernetes controller for GitHub Actions self-hosted runners