Skip to content

Commit

Permalink
feat: save hq thumbs
Browse files Browse the repository at this point in the history
feat: fill README
feat: check for more media paths
  • Loading branch information
AlexeyZavar committed Jul 13, 2023
1 parent ee6a3c1 commit 44a92a5
Show file tree
Hide file tree
Showing 13 changed files with 584 additions and 48 deletions.
Binary file added .github/demos/demo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/demos/demo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/demos/demo3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/demos/demo4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/demos/demo5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/demos/demo6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
115 changes: 75 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,88 +2,123 @@

![AyuGram Logo](.github/AyuGram.png)

## Features
## What's this fork even about?

**AyuGram4A** is built on top of exteraGram with reworked patches from Telegraher:
**Is it just exteraGram+Telegraher?**

**AyuGram4A** is a fork of [exteraGram](https://github.com/exteraSquad/exteraGram) with
some patches from [Telegraher](https://github.com/nikitasius/Telegraher).

But it's not just exteraGram with Telegraher's commits, **it's a fully reworked version**.

The main difference between AyuGram and Telegraher is that AyuGram **saves** your messages history,
while Telegraher just **caches** them.
It means that you can clean your cache and still have all saved messages.

Also, AyuGram has **full ghost mode**.
It allows you to hide your online status from other users, even if you send them
a message.

*And, well, it's not an Iranian Telegram fork with floating TV or something.*

## Features list

### Telegraher's patches:

- Built with official keys
- No emulator detection
- Screenshots in secret chats
- Messages history (+ deleted ones)
- No emulator detection
- No ads
- Probably something else, check commits

...and **ghost mode**.
### Reworked Telegraher's patches:

- Save chats where you were banned/kicked
- Expire button for TTL photos/videos
- ...something else probably

### Our features:

- Full ghost mode (flexible)
- Messages history (flexible)
- Message filters (e.g. hide ads)
- Customizable edited/deleted marks
- Local Telegram Premium
- Sync read states and message history with AyuSync
- Up to stream Telegram version (*snidely*)

Note that we use **Crashlytics**.
If you don't want to send crash reports, you can disable it in **exteraGram Preferences**.

**AyuGram4A** does **NOT** include proprietary **exteraGram** features.

AyuGram4A does **NOT** include proprietary exteraGram features.
## Preview

💖 **Made with extera's Monet theme.**

![General Preferences](.github/demos/demo1.png)

![General Preferences](.github/demos/demo2.png)

![AyuSync Preferences](.github/demos/demo3.png)

![Filters Preferences](.github/demos/demo4.png)

![Message History](.github/demos/demo5.png)

![Message History](.github/demos/demo6.png)

## Downloads?

Follow our [Telegram channel](https://t.me/ayugram1338).
Follow our **[Telegram channel](https://t.me/ayugram1338)**.

Alpha versions can be downloaded
from [GitHub Actions](https://github.com/AyuGram/AyuGram4A/actions/workflows/release.yml).
from **[GitHub Actions](https://github.com/AyuGram/AyuGram4A/actions/workflows/release.yml)**.

## Want to throw some money?

Developing AyuGram is not such a simple task.
We'd be grateful for any donation <3
**We'd be grateful for any donation <3**

In addition, you'll receive **AyuGram MVP** status.

## AyuGram MVP? Seriously?

Not the best name, I guess, but why not.
You'll get a supporter mark in profile and access to the official AyuSync server.
All available methods can be found **[here](https://ayusync.radolyn.com/ui/donate)**.

## AyuSync? What is it?

**AyuSync** is our synchronization service available to **AyuGram MVP** users.
**AyuSync** is our synchronization service.
You can either use official server or host your own.
It can sync read states and message history.

You can implement a sync server by yourself if you don't trust us and specify it in the AyuGram
Preferences. If you do so, you don't need **AyuGram MVP** status.

Server specification can be found [here](https://github.com/AyuGram/AyuSyncSpecification).

## Why there's no `X` feature from Telegraher?

Because I'm too lazy, and some Telegraher's features are useless for most of the people.
Server backend can be found **[here](https://github.com/AyuGram/AyuSyncBackend)**.

## Want to contribute?

I'd be grateful for any contribution, since I don't really like Java. :)

Work on any feature you want.
**Work on any feature you want.**

## Want to fork?

If you're making a fork, you **should** specify **AyuGram** & **exteraGram** in credits.
Otherwise, open source won't really work.

Depending on your GitHub profile, we'll decide whether to send an invitation to the proprietary repo or not.
Well, just fork it.

And, if you're a kid that doesn't really want to give credits properly - go and cry writing boilerplate code.
**But please, don't forget to mention us in your README.**

## How to build

1. Clone source code using `git clone https://github.com/AyuGram/AyuGram4A.git`
2. Open the project in Android Studio. It should be opened, **not imported**
3. Implement the `AyuMessageUtils` & `AyuHistoryHook` classes. It's not that hard, but if you're
making your **very** own fork, then you should take some time to write this part of code
4. Create dummy classes for extera's proprietary methods & classes (in `boost` folder)
5. Replace `google-services.json` (we don't want to see crash reports from your app...)
6. Generate application certificate and fill API_KEYS:
4. Replace `google-services.json` (we don't want to see crash reports from your app...)
5. Generate application certificate and fill API_KEYS:
```
APP_ID = 6
APP_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
MAPS_V2_API = NA
MAPS_V2_API = <...>
SIGNING_KEY_PASSWORD = <...>
SIGNING_KEY_ALIAS = <...>
SIGNING_KEY_STORE_PASSWORD = <...>
```
7. You are ready to compile `AyuGram`
6. You are ready to compile `AyuGram`

- **AyuGram** can be built with **Android Studio** or from the command line with **Gradle**:

Expand All @@ -96,14 +131,14 @@ And, if you're a kid that doesn't really want to give credits properly - go and
[![Crowdin](https://badges.crowdin.net/ayugram/localized.svg)](https://crowdin.com/project/ayugram)
[![Crowdin](https://badges.crowdin.net/exteralocales/localized.svg)](https://crowdin.com/project/exteralocales)

We have our own [Crowdin](https://crowdin.com/project/ayugram).
We have our own **[Crowdin](https://crowdin.com/project/ayugram)**.

But since AyuGram is based on **exteraGram**, also join their project
at [Crowdin](https://crowdin.com/project/exteralocales)!
But since **AyuGram** is based on **exteraGram**, also join their project
at **[Crowdin](https://crowdin.com/project/exteralocales)**!

## Credits

- [exteraGram](https://github.com/exteraSquad/exteraGram)
- **[exteraGram](https://github.com/exteraSquad/exteraGram)**
- [Telegraher](https://github.com/nikitasius/Telegraher)
- [Cherrygram](https://github.com/arsLan4k1390/Cherrygram)
- [Nagram](https://github.com/NextAlone/Nagram)
Expand Down
Loading

0 comments on commit 44a92a5

Please sign in to comment.