Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iakashpattnaik/switchfilebot
https://github.com/iakashpattnaik/switchfilebot
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/iakashpattnaik/switchfilebot
- Owner: iAkashPattnaik
- License: gpl-3.0
- Created: 2024-03-20T13:25:12.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-20T13:26:25.000Z (8 months ago)
- Last Synced: 2024-05-02T04:24:37.593Z (7 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
🗃️ SwitchFileBot
A simple bot which can be used to share files along with metadata between [telegram](https://telegram.dog) and [[switch android](https://play.google.com/store/apps/details?id=com.app.switchapp1) or [switch apple](https://apps.apple.com/in/app/switch-chats-and-communities/id1640630735)] on a temorary id basis for 24 hours.
## How it works?
- You send a file to either the _[telegram bot](https://t.me/SwitchFileBot)_ or _[switch bot](https://myswitch.click/ELHC)_.
- The `file_data` is registred into `mongodb` database.
- A `fetch_id` is generated which is valid for 24 hours.
- Anyone can get the file using this `fetch_id` on either of the bots.> ⚠️ Switch is still under development.
## TODO
- [ ] Use match-case rather than if-else in `telegram_bot/main.py:fetch_command`
- [ ] Add force_sub for switch community
- [ ] Make the temporary file store time **custom**
- [ ] Add media broadcast### Switch on Windows?
It's technically possible but you must have Windows 11 and [WSA](https://learn.microsoft.com/en-us/windows/android/wsa/) enabled.
Follow [this article](https://ahaan.co.uk/article/top_stories/google-play-store-windows-11-install) and you can install any google playstore app in windows!