Skip to content

RealZeroDev/FileStore-Shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

━━━━━━━━━━━━━━━━━━━━

──「 ғɪʟᴇ sᴛᴏʀᴇ ᴘʀᴏ 」──

Typing SVG

━━━━━━━━━━━━━━━━━

📌 ғᴇᴀᴛᴜʀᴇs:

🚀 Key Features:

Batch & Custom Batch Links: Create links for one or multiple posts easily using /batch & /custom_batch
Link Generator: Instantly generate direct links with /genlink
Broadcast Tools: Send messages or media to all users using /broadcast, /dbroadcast, or /pbroadcast
Auto File Deletion: Control auto-delete with /dlt_time & /check_dlt_time
User Management: Ban/unban users and view banlist via /ban, /unban, and /banlist
Multi Force Subscription: Add, delete, and manage multiple Force Sub channels with /addchnl, /delchnl, /listchnl
Admin Control: Add or remove admins with /add_admin, /deladmin, and view list via /admins
Premium System: Manage premium users using /addpremium, /remove_premium, /premium_users, /myplan
Bot Analytics: Get stats and uptime via /stats, user info with /users, and database count via /count
Deployment Ready: Easily deploy on Heroku or Koyeb in minutes
Token Verification: Enable or disable optional secure access

✨ More features & enhancements coming soon...

- ᴠᴀʀɪᴀʙʟᴇs :

ᴠᴀʀɪᴀʙʟᴇs

  • API_HASH Your API Hash from my.telegram.org
  • APP_ID Your API ID from my.telegram.org
  • TG_BOT_TOKEN Your bot token from @BotFather
  • OWNER_ID Must enter Your Telegram Id
  • CHANNEL_ID Your Channel ID eg:- -100xxxxxxxx
  • DATABASE_URL Your mongo db url
  • DATABASE_NAME Your mongo db session name
  • ADMINS Optional: A space separated list of user_ids of Admins, they can only create links
  • START_MESSAGE Optional: start message of bot, use HTML and fillings
  • PROTECT_CONTENT Optional: True if you need to prevent files from forwarding

Token Variables

  • SHORTLINK_URL = Your shortner Url ( ex. "inshorturl.com")
  • SHORTLINK_API = Your shortner API (ex. "PUIAQBIFrydvLhIzAOeGV8yZppu")

𝐶𝑜𝑚𝑚𝑎𝑛𝑑𝑠

/start - start the bot or get posts
/batch - create link for more than one posts
/genlink - create link for one post
/users - view bot statistics
/broadcast - broadcast any messages to bot users
/dbroadcast - broadcast any messages with auto delete.
/stats - checking your bot uptime
/start - start the bot or get posts  
/batch - create link for more than one posts  
/custom_batch - create custom batch from channel/group  
/genlink - create link for one post  
/users - view bot statistics  
/broadcast - broadcast any messages to bot users  
/dbroadcast - broadcast any messages with auto delete  
/stats - check your bot uptime  
/dlt_time - set auto delete time for files  
/check_dlt_time - check current delete time setting  
/ban - ban a user from using the bot  
/unban - unban a previously banned user  
/banlist - get list of banned users  
/addchnl - add a channel for force subscription  
/delchnl - remove a force subscribe channel  
/listchnl - view all added force subscribe channels  
/fsub_mode - toggle force subscribe on or off  
/pbroadcast - pin a broadcast to all user's chat 
/add_admin - add a new admin  
/deladmin - remove an admin  
/admins - list all current admins  
/addpremium - grant premium access to a user  
/premium_users - list all premium users  
/remove_premium - revoke premium from a user  
/myplan - check your premium status  
/count - count shortner clicks  
/delreq - removed users that left chnl and not getting request fsub

「 ᴏᴛʜᴇʀ ʙʀᴀɴᴄʜᴇs 」

- ᴅᴇᴘʟᴏʏᴍᴇɴᴛ ᴍᴇᴛʜᴏᴅs

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ 」─

Deploy On Heroku

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴋᴏʏᴇʙ 」─

Deploy On Koyeb

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʀᴀɪʟᴡᴀʏ 」─

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʀᴇɴᴅᴇʀ 」─

Deploy to Render

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ᴠᴘs 」─

git clone https://github.com/Codeflix-Bots/FileStore
# Install Packages
pip3 install -U -r requirements.txt
Edit info.py with variables as given below then run bot
python3 bot.py

「 ᴄʀᴇᴅɪᴛs 」

ᴀɴᴅ ᴀʟʟ ᴛʜᴇ ᴄᴏɴᴛʀɪʙᴜᴛᴏʀs ᴡʜᴏ ʜᴇʟᴩᴇᴅ ɪɴ ᴍᴀᴋɪɴɢ file store ʙᴏᴛ ᴜsᴇꜰᴜʟ & ᴩᴏᴡᴇʀꜰᴜʟ 🖤

📌 𝑵𝒐𝒕𝒆

ᴊᴜꜱᴛ ꜰᴏʀᴋ ᴛʜᴇ ʀᴇᴘᴏ ᴀɴᴅ ᴇᴅɪᴛ ᴀꜱ ᴘᴇʀ ʏᴏᴜʀ ɴᴇᴇᴅꜱ.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages