Skip to content

pyranota/matri-desktop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matri - Universal Matrix Client

Based on Telegram Web A, packaged for Desktop, Android and IOS with Tauri

Local setup

mv .env.example .env

bun i

Obtain API ID and API hash on my.telegram.org and populate the .env file.

Dev mode

bun run dev

Invoking API from console

Start your dev server and locate GramJS worker in console context.

All constructors and functions available in global GramJs variable.

Run bun run gramjs:tl full to get access to all available Telegram requests.

Example usage:

await invoke(new GramJs.help.GetAppConfig())

GitHub release

GitHub access token

In order to publish new release, you need to add GitHub access token to .env. Generate a GitHub access token by going to https://github.com/settings/tokens/new. The access token should have the repo scope/permission. Once you have the token, assign it to an environment variable:

# .env
GH_TOKEN="{YOUR_TOKEN_HERE}"
Publish settings

Publish configuration in src/electron/config.yml config file allows to set GitHub repository owner/name.

Release workflow
  • Run npm run electron:publish, which will create new draft release and upload build artefacts to newly reated release. Version of created release will be the same as in package.json.
  • Once you are done, publish the release. GitHub will tag the latest commit.

Dependencies

Bug reports and Suggestions

If you find an issue with this app, let Telegram know using the Suggestions Platform.

About

[WIP] Universal Matrix Client GPL v3

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 59.6%
  • HTML 22.3%
  • JavaScript 11.7%
  • SCSS 6.3%
  • CSS 0.1%
  • Handlebars 0.0%