Skip to content

Telegram-photoframe is a React application that uses TDLib and is in fact a telegram client that displays Photos in a selected group, channel or chat.

Notifications You must be signed in to change notification settings

lukefx/telegram-photoframe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-Photoframe

alt text

Telegram photoframe is a Web application that uses telegram to display your prefered group or channel as Photoframe. The app is in fact a telegram client and doesn't require any bot, just login with your mobile phone via QR code and select the group or conversation that you want to display.

Internals

The app is a React application that uses TDLib, specifically the wasm version called tdweb.

How to deploy your own version

To deploy your own version login here and create an app: https://core.telegram.org/api/obtaining_api_id

Then copy the two keys in the .env file by following the example of .env.example To run the app locally, install all the dependencies:

npm i

Copy the tdweb wasm files to a loadable path for your app, we use public:

cp node_modules/tdweb/dist/ ./public

The start the app:

npm start

To build a static version run:

npm run build

To deploy the app, modify the PUBLIC_URL in package.json and deploy it to GitHub pages for free:

npm run deploy

About

Telegram-photoframe is a React application that uses TDLib and is in fact a telegram client that displays Photos in a selected group, channel or chat.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages