Documentation
Install TGGroups, activate your license, set up cron and the Telegram bot, and update to new versions.
Requirements
- PHP 8.2 or newer with:
pdo,mbstring,openssl,tokenizer,json,ctype,fileinfo,xml,curl,sodium,zip,gd. - MySQL 5.7+ , MariaDB 10.3+ , SQLite 3.35+.
- Apache with
mod_rewrite, or Nginx. A cron job every minute. - Outgoing HTTPS (to read link previews from t.me, reach the Telegram Bot API and check your license with www.pepploweb.in).
- An SSL certificate and an SMTP email account are recommended.
Buy and download
- Open the TGGroups page on PepploWeb Marketplace and choose a plan.
- Sign in or create an account and pay.
- Download the zip from My licenses. Your license key is shown there too.
Install
- Upload the contents of the zip to your hosting. Point the domain's document root to the
publicfolder (or keep the included.htaccessthat sends requests there). - Create an empty MySQL or MariaDB database and user (or use SQLite).
- Open your domain in a browser. The web installer checks the server, asks for the database, your site name and the admin account, and can add sample links so the directory does not look empty.
- The installer installs the 11 included extensions for you.
Activate the license
After installing, the site asks for your license key. Paste the key from My licenses on PepploWeb Marketplace. The marketplace binds it to your domain and tells your site which premium extensions it may use.
- Bought a premium extension later? Go to System › License and choose Refresh extensions.
- Moving to a new domain? Choose Deactivate license under System › License, then activate on the new domain. If the old site is gone, free the domain from My licenses.
Cron job
Add one cron job that runs every minute. System › Cron jobs shows the exact command for your server, for example:
* * * * * cd /home/youruser/tggroups && php artisan schedule:run >> /dev/null 2>&1
It runs the Link Health Checker, ends featured placements, sends queued email and makes backups. If your host has no cron, the Cron jobs page also gives a web cron URL.
Telegram bot
- In Telegram, open @BotFather, send
/newbotand copy the token it gives you. - Add the bot as an admin of your channel or group.
- In TGGroups go to Extensions › Telegram Bot Tools, paste the token and the channel (for example
@yourchannel), and send a test message. - Switch on the parts you want: post approved links, post the picture, tell moderators about new links.
Directory settings
System › Settings › Directory settings sets which link types you accept, whether guests can submit, whether new links need review, required fields, daily limits, blocked words, the leaving page and adult (18+) rules.
Update
From version 2.0.0, System › Updates installs new versions in one click while your license includes updates.
Updating from 1.3.x to 2.0.0
- Back up your files and database.
- Upload the new files over the old ones, keeping
.env,storage/andpublic/uploads. - Open the site. The database updates itself.
- Activate your license with the key from PepploWeb Marketplace (the old license client was replaced).
Premium extensions you used before stay switched off, with their data kept, until your license includes them.
API and Android app
The Public API lists and searches links and categories and can accept submissions. Create keys under Directory › API keys; the reference is published on your site at /developers. The TGGroups Android app reads your directory through this API and is available separately.
Support
Each plan includes support for the months shown on the Pricing page. Ask through your account on PepploWeb Marketplace.
Start your Telegram directory today
Buy a license on PepploWeb Marketplace, download TGGroups straight away and install it on your own domain.