Skip to content

Commit fa87b10

Browse files
authored
Version 0.0.6 (#195)
2 parents dc62877 + 52a7a86 commit fa87b10

2,240 files changed

Lines changed: 52259 additions & 622353 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# These files are binary and should be left untouched
2+
# (binary is a macro for -text -diff)
3+
*.class binary
4+
*.dll binary
5+
*.ear binary
6+
*.jar binary
7+
*.so binary
8+
*.war binary
9+
*.jks binary
10+
11+
# Common build-tool wrapper scripts
12+
mvnw text eol=lf
13+
gradlew text eol=lf
14+
15+
# These are explicitly windows files and should use crlf
16+
*.bat text eol=crlf

.gitignore

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,39 @@
1-
*.iml
2-
.gradle
3-
/local.properties
4-
/.idea/caches
5-
/.idea/libraries
6-
/.idea/modules.xml
7-
/.idea/workspace.xml
8-
/.idea/navEditor.xml
9-
/.idea/assetWizardSettings.xml
10-
.DS_Store
11-
/build
12-
/captures
13-
.externalNativeBuild
14-
.cxx
1+
# Gradle files
2+
.gradle/
3+
build/
4+
5+
# Kotlin Gradle plugin data
6+
.kotlin/
7+
8+
# Local configuration file (sdk path, etc)
159
local.properties
16-
/.idea
17-
/.kotlin/sessions
18-
/app/release
19-
*/build
10+
11+
# Log/OS Files
12+
*.log
13+
.DS_Store
14+
15+
# Android Studio generated files and folders
16+
captures/
17+
.externalNativeBuild/
18+
.cxx/
19+
*.aab
20+
*.apk
21+
output-metadata.json
22+
23+
# IntelliJ
24+
*.iml
25+
.idea/
26+
misc.xml
27+
deploymentTargetDropDown.xml
28+
render.experimental.xml
29+
30+
# Keystore files
31+
*.jks
32+
*.keystore
33+
34+
# Google Services (e.g. APIs or Firebase)
2035
google-services.json
21-
/.kotlin/errors
36+
37+
# Android Profiling
38+
*.hprof
39+
/app/release/baselineProfiles

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "presentation/src/main/cpp/third_party/libvpx"]
22
path = presentation/src/main/cpp/third_party/libvpx
33
url = https://github.com/webmproject/libvpx.git
4+
[submodule "presentation/src/main/cpp/third_party/rlottie"]
5+
path = presentation/src/main/cpp/third_party/rlottie
6+
url = https://github.com/monogram-android/rlottie

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Support the project on [**Boosty**](https://boosty.to/monogram).
5050

5151
## Key Features
5252

53+
- **Independent Client** — Not a fork of Telegram for Android. MonoGram is built entirely from scratch as a standalone project.
5354
- **Material Design 3** — A beautiful, adaptive UI that looks great on phones, tablets, and foldables.
5455
- **Secure** — Built-in biometric locking and encrypted local storage.
5556
- **Media Rich** — High-performance media playback with ExoPlayer and Coil 3.
@@ -72,7 +73,7 @@ Follow these steps to set up the project locally.
7273
### 1. Clone the Repository
7374

7475
```bash
75-
git clone https://github.com/monogram-android/monogram.git
76+
git clone --recurse-submodules https://github.com/monogram-android/monogram.git
7677
cd monogram
7778
```
7879

@@ -105,7 +106,15 @@ API_HASH=your_api_hash_here
105106
10. Click **Update** next to the FCM credentials section.
106107
11. Upload the service account JSON on the page that opens.
107108

108-
### 4. Build and Run
109+
### 4. First Time Setup: Building libvpx
110+
111+
The animations require libvpx to be compiled. This has to be done before starting a Gradle build or it will cause build failures.
112+
113+
1. Change your working directory to `presentation/src/main/cpp`
114+
2. In `build.sh`, add your `ANDROID_NDK_HOME`
115+
3. Run `build.sh` and wait for it to finish
116+
117+
### 5. Build and Run
109118

110119
1. Open the project in **Android Studio**.
111120
2. Increase the IDE indexing limits so `TdApi.java` (the TDLib wrapper) is indexed correctly. In **Android Studio** or **IntelliJ IDEA**, open **Help → Edit Custom Properties...**, paste the lines below, and restart the IDE if prompted:

README_ES.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ Ayuda al proyecto en [**Boosty**](https://boosty.to/monogram).
5454

5555
## Características Clave
5656

57+
- **Cliente Independiente** — No es un fork de Telegram para Android. MonoGram
58+
está construido completamente desde cero como un proyecto independiente.
5759
- **Material Design 3** — Una bonita y adaptativa UI que se ve grandiosa en
5860
celulares, tablets y plegables.
5961
- **Seguro** — Almacenamiento local encriptado y bloqueo biométrico incluido.
@@ -82,7 +84,7 @@ Sigue estos pasos para configurar el proyecto localmente.
8284
### 1. Clona el Repositorio
8385

8486
```bash
85-
git clone https://github.com/monogram-android/monogram.git
87+
git clone --recurse-submodules https://github.com/monogram-android/monogram.git
8688
cd monogram
8789
```
8890

@@ -124,7 +126,15 @@ API_HASH=your_api_hash_here
124126
10. Clickea en **Update** después de la sección FCM credentials.
125127
11. Sube el service account JSON en la página que se abre.
126128

127-
### 4. Compilar y Ejecutar
129+
### 4. Primera Configuración: Compilar libvpx
130+
131+
Las animaciones requieren que libvpx esté compilado. Esto debe hacerse antes de iniciar una compilación de Gradle; de lo contrario, la compilación fallará.
132+
133+
1. Cambia tu directorio de trabajo a `presentation/src/main/cpp`.
134+
2. En `build.sh`, añade tu `ANDROID_NDK_HOME`.
135+
3. Ejecuta `build.sh` y espera a que termine.
136+
137+
### 5. Compilar y Ejecutar
128138

129139
1. Abre el proyecto en **Android Studio**.
130140
2. Aumenta los límites de indexado del IDE para que `TdApi.java` (el wrapper de

README_KOR.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
## 주요 기능
5151

52+
- **독립 클라이언트** — Telegram for Android의 포크가 아닙니다. MonoGram은 독립 프로젝트로서 처음부터 완전히 새롭게 구축되었습니다.
5253
- **Material Design 3** — 스마트폰, 태블릿, 폴더블 기기에서 모두 멋지게 보이는 아름답고 적응형인 UI입니다.
5354
- **보안** — 생체 인식 잠금 및 암호화된 로컬 저장소가 내장되어 있습니다.
5455
- **풍부한 미디어** — ExoPlayer와 Coil 3를 사용한 고성능 미디어 재생을 지원합니다.
@@ -71,7 +72,7 @@
7172
### 1. 저장소 클론
7273

7374
```bash
74-
git clone https://github.com/monogram-android/monogram.git
75+
git clone --recurse-submodules https://github.com/monogram-android/monogram.git
7576
cd monogram
7677
```
7778

@@ -104,7 +105,15 @@ API_HASH=your_api_hash_here
104105
10. FCM 자격 증명 섹션 옆의 **Update**를 클릭합니다.
105106
11. 열린 페이지에서 다운로드한 서비스 계정 JSON 파일을 업로드합니다.
106107

107-
### 4. 빌드 및 실행
108+
### 4. 최초 설정: libvpx 빌드
109+
110+
애니메이션을 사용하려면 libvpx를 먼저 컴파일해야 합니다. Gradle 빌드를 시작하기 전에 이 작업을 하지 않으면 빌드가 실패할 수 있습니다.
111+
112+
1. 작업 디렉터리를 `presentation/src/main/cpp`로 이동합니다.
113+
2. `build.sh``ANDROID_NDK_HOME`을 추가합니다.
114+
3. `build.sh`를 실행하고 완료될 때까지 기다립니다.
115+
116+
### 5. 빌드 및 실행
108117

109118
1. **Android Studio**에서 프로젝트를 엽니다.
110119
2. `TdApi.java`(TDLib 래퍼)가 올바르게 인덱싱되도록 IDE 인덱싱 제한을 늘립니다. **Android Studio** 또는 **IntelliJ IDEA**에서 **Help → Edit Custom Properties...**를 열고 아래 줄을 붙여넣은 후, 메시지가 나타나면 IDE를 다시 시작합니다:

README_RU.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
## Ключевые особенности
5252

53+
- **Независимый клиент** — Не форк Telegram для Android. MonoGram написан полностью с нуля как самостоятельный проект.
5354
- **Material Design 3** — Красивый, адаптивный интерфейс, который отлично смотрится на телефонах, планшетах и складных устройствах.
5455
- **Безопасность** — Встроенная биометрическая блокировка и зашифрованное локальное хранилище.
5556
- **Мультимедиа** — Высокопроизводительное воспроизведение медиа с ExoPlayer и Coil 3.
@@ -72,7 +73,7 @@
7273
### 1. Клонирование репозитория
7374

7475
```bash
75-
git clone https://github.com/monogram-android/monogram.git
76+
git clone --recurse-submodules https://github.com/monogram-android/monogram.git
7677
cd monogram
7778
```
7879

@@ -105,7 +106,15 @@ API_HASH=your_api_hash_here
105106
10. Нажмите **Update** рядом с разделом FCM credentials.
106107
11. Загрузите JSON сервисного аккаунта на открывшейся странице.
107108

108-
### 4. Сборка и запуск
109+
### 4. Первичная настройка: сборка libvpx
110+
111+
Для анимаций требуется собрать libvpx. Это нужно сделать до запуска сборки Gradle, иначе сборка завершится с ошибками.
112+
113+
1. Перейдите в директорию `presentation/src/main/cpp`
114+
2. В `build.sh` укажите ваш `ANDROID_NDK_HOME`
115+
3. Запустите `build.sh` и дождитесь завершения
116+
117+
### 5. Сборка и запуск
109118

110119
1. Откройте проект в **Android Studio**.
111120
2. Увеличьте лимиты индексации IDE, чтобы `TdApi.java` (обёртка над TDLib) корректно индексировался. В **Android Studio** или **IntelliJ IDEA** откройте **Help → Edit Custom Properties...**, вставьте строки ниже и при необходимости перезапустите IDE:

README_UR.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
## اہم خصوصیات
5252

53+
- **آزاد کلائنٹ (Independent Client)** — یہ Telegram for Android کا فورک نہیں ہے۔ MonoGram ایک مکمل طور پر نئے سرے سے بنایا گیا آزاد پروجیکٹ ہے۔
5354
- **Material Design 3** — ایک خوبصورت، موافق (adaptive) UI جو فونز، ٹیبلیٹس، اور فولڈ ایبلز پر بہترین نظر آتا ہے۔
5455
- **محفوظ (Secure)** — بائیو میٹرک لاکنگ اور انکرپٹڈ لوکل اسٹوریج شامل ہے۔
5556
- **میڈیا سے بھرپور (Media Rich)** — ExoPlayer اور Coil 3 کے ساتھ اعلیٰ کارکردگی والا میڈیا پلے بیک۔
@@ -72,7 +73,7 @@
7273
### 1. ریپوزٹری کلون کریں
7374

7475
```bash
75-
git clone https://github.com/monogram-android/monogram.git
76+
git clone --recurse-submodules https://github.com/monogram-android/monogram.git
7677
cd monogram
7778
```
7879

@@ -105,7 +106,15 @@ API_HASH=your_api_hash_here
105106
10. FCM اسناد والے سیکشن کے آگے **Update** پر کلک کریں۔
106107
11. کھلنے والے پیج پر سروس اکاؤنٹ JSON اپ لوڈ کریں۔
107108

108-
### 4. بلڈ اور رن
109+
### 4. پہلی مرتبہ سیٹ اپ: libvpx کی تعمیر
110+
111+
اینیمیشنز کے لیے libvpx کو کمپائل کرنا ضروری ہے۔ یہ کام Gradle بلڈ شروع کرنے سے پہلے کرنا ہوگا، ورنہ بلڈ ناکام ہو سکتی ہے۔
112+
113+
1. اپنی ورکنگ ڈائرکٹری `presentation/src/main/cpp` پر لے جائیں۔
114+
2. `build.sh` میں اپنا `ANDROID_NDK_HOME` شامل کریں۔
115+
3. `build.sh` چلائیں اور مکمل ہونے تک انتظار کریں۔
116+
117+
### 5. بلڈ اور رن
109118

110119
1. **Android Studio** میں پروجیکٹ کھولیں۔
111120
2. IDE کی انڈیکسنگ کی حد میں اضافہ کریں تاکہ `TdApi.java` (TDLib ریپر) صحیح طرح انڈیکس ہو سکے۔ **Android Studio** یا **IntelliJ IDEA** میں، **Help → Edit Custom Properties...** کھولیں، نیچے دی گئی لائنز پیسٹ کریں، اور اگر کہا جائے تو IDE کو ری اسٹارٹ کریں:

0 commit comments

Comments
 (0)