Base: Messager-bot.
System additions imported from: Personal-bot (copied into system-personal/
).
- Name: farhan muh tasim
- GitHub: frnwot
- Email: frnbuid2005@gmail.com
- .eslintrc.json
- .github
- .github/FUNDING.yml
- .github/main.yml
- .github/workflows
- .gitignore
- .replit
- .vscode
- .vscode/GoatBot.code-snippets
- .vscode/settings.json
- CHANGELOG.md
- Copyright.txt
- DOCS.md
- Goat.js
- LICENSE
- README.md
- STEP_INSTALL.md
- account.dev.txt
- account1.dev.txt
- bot
- bot/autoUptime.js
- bot/custom.js
- bot/handler
- bot/login
- chitron.html
- config.dev.json
- config.json
- configCommands.dev.json
- dashboard
- dashboard/app.js
- dashboard/connectDB.js
- dashboard/css
- dashboard/images
- dashboard/js
- dashboard/middleware
- dashboard/passport-config.js
- dashboard/routes
- dashboard/scripts
- dashboard/views
- data
- data/vip.json
- database
- database/connectDB
- database/controller
- database/data
- database/models
- fb-chat-api
- fb-chat-api/index.js
- fb-chat-api/src
- fb-chat-api/utils.js
- func
- func/colors.js
- func/prism.js
- index.js
- languages
- languages/Ba.lang
- languages/cmds
- languages/en.lang
- languages/events
- languages/makeFuncGetLangs.js
- languages/vi.lang
- logger
- logger/loading.js
- logger/log.js
- logger/logColor.js
- models
- models/vipModel.js
- package-lock.json
- package.json
- render.yaml
- replit.nix
- restoreBackup.js
- scripts
- scripts/cmds
- scripts/events
- system-personal
- system-personal/Script
- update.js
- updater.js
- utils.js
- versions.json
- Install:
npm install
(orpnpm install
) - Run locally:
npm run start
ornpm run dev
(depending on package scripts).
This repo includes a generic Node.js workflow at .github/workflows/deploy.yml
.
Set any required secrets in the repo settings (Settings → Secrets and variables → Actions).
This bot is based on Goats Bot v2 style login (using account.dev.txt
).
- Go to your repo → Settings → Secrets and variables → Actions.
- Add a new secret:
- Name:
ACCOUNT_DEV_TXT
- Value: (paste the full cookie content from your
account.dev.txt
).
- Name:
Every push to main
or master
will:
- Install dependencies
- Recreate
account.dev.txt
from your secret - Run
npm run start
Your bot will then run on the GitHub Actions runner.
This project uses account.dev.txt
for login (cookie-based). Do not commit this file.
- Go to Settings → Secrets and variables → Actions and add:
ACCOUNT_DEV_TXT
→ paste the full contents of youraccount.dev.txt
.
GitHub-hosted runners stop after a short time and cannot keep a bot online.
To keep the bot running continuously, register a self-hosted runner and give it the self-hosted
label.
The workflow will then start the bot with PM2 and keep it alive across runs.
On ubuntu-latest
, the workflow will do a short smoke start and exit. Use this to validate builds.