Git Product home page Git Product logo

arslan4k1390 / cherrygram Goto Github PK

View Code? Open in Web Editor NEW
436.0 7.0 18.0 151.14 MB

License: GNU General Public License v2.0

Dockerfile 0.01% Makefile 0.01% CMake 0.16% C++ 29.33% C 20.48% Perl 1.45% Shell 0.01% Go 1.21% Assembly 1.63% Raku 0.01% Python 0.06% CSS 0.01% Objective-C 0.02% Objective-C++ 0.10% NASL 0.11% Roff 0.01% MATLAB 0.01% Java 45.28% Kotlin 0.13% GLSL 0.02%
android chat telegram java kotlin-android telegram-android

cherrygram's Introduction

🍒 Cherrygram

Cherrygram is a third-party Telegram client with not many but useful modifications.

This is an unofficial fork of the original Telegram App for Android.

This repo contains the official source code for Telegram App for Android.

Current Maintainers

Contributors

Discussion

Join the Cherrygram official channel

Join the Cherrygram official group

Changes:

Addons:

  • Flashlight support for video messages (both cameras),
  • OTA updates,
  • Material You (Monet) themes and app icon,
  • No content restrictions,
  • Support of up to 10 accounts,
  • Profile pictures (both normal and public) upload date,
  • IOS/TDesktop style of latest activity status,
  • Fetching emoji and stickers from profile pictures (both normal and public),
  • Fetching emoji from profile background,
  • Mutual contact icon in contacts list,
  • Allow to set a proxy before login,
  • Added native biometrics support,
  • "tg://user?id=int" Links support (e.g. "tg://user?id=282287840"),
  • Allow to set "Keep media" for one day,
  • "Kaboom" (Erase all Cherrygram's data in 1 click),
  • "Kaboom" home screen widget.

Chats:

  • Scrollable and clickable chat preview,
  • Open profile from chat preview,
  • "Mark as read" support for folders,
  • Chat Blur support for all devices and themes (Blur is enabled by default),
  • Fast search (Open a search by holding dialog name),
  • Jump to the beginning of any chat,
  • Delete all OWN messages from groups,
  • "Remove file from cache" feature for files in chat,
  • Copying photos to clipboard,
  • Stickers downloader,
  • Messages history from any user and channel in any chat,
  • Select messages in chat between message A and message B,
  • View admins (Group info) for all members,
  • Open avatar by swiping down in profile,
  • Mention in chat by name (long press on username).

Cherrygram General Preferences:

  • Enable/Disable members rounding,
  • Enable/Disable system emoji,
  • Enable/Disable system fonts,
  • Default notification icon (Telegram),
  • Enable/Disable Telegram Stories in app header,
  • Enable/Disable animated avatars,
  • Enable/Disable reactions overlay,
  • Enable/Disable reactions animation,
  • Enable/Disable taps on premium stickers,
  • Enable/Disable premium stickers auto-play,
  • Enable/Disable "Send as channel" button.

Cherrygram Appearance Preferences:

  • VKUI/Solar icons in app,
  • One UI (Samsung) Switchers style,
  • Center title in action bar,
  • Enable/Disable toolbar shadow,
  • Enable/Disable dividers,
  • Overriding header color,
  • Snow in App Header,
  • Snow in Chats.

Messages and profiles Preferences:

  • Show seconds in timestamps,
  • Enable/Disable premium statuses,
  • Customize reply and profile background,
  • Show/Hide Personal channel in profile,
  • Show/Hide DC/ID in profile,
  • Show/Hide Birth Date in profile,
  • Show/Hide Business hours and location in profile.

Folders Preferences:

  • Show folder name instead of app name,
  • Hide "All chats" tab,
  • Hide messages counter in tabs.
  • Tab style (Default, Rounded, Text, VKUI or Pills),
  • Tab icon style (Only titles, Only icons and Icons with titles) with stroke.

Drawer Preferences:

  • Snow in drawer,
  • Profile photo as drawer background,
  • Darken menu header background,
  • Gradient menu header background,
  • Blur menu header background and blur intensity,
  • Enable/Disable drawer buttons,
  • Drawer icons set.

Cherrygram Chats Preferences:

  • Blocking stickers (which cause Telegram apps crash),
  • Hide time on stickers,
  • Stickers size amplifier (changer),
  • Admin shortcuts in chats,
  • Center chat title like on IOS,
  • Showing unread chats counter on "Back" button like on IOS,
  • Ask before a call,
  • Hide keyboard while scrolling a chat,
  • Enable/Disable transition to the next channel,
  • Show/Hide bottom button in channels (Mute/Unmute),
  • Recent emojis counter (amplifier),
  • Recent stickers counter (amplifier),
  • Direct Share button (Select where to show the button),
  • Configure message menu,
  • Use "Delete for all" by default,
  • Show forwarded message date,
  • Pencil icon for edited messages instead of "edited",
  • Left button action (Forward w/o authorship, Direct Share, Reply or Save),
  • Double tap action (Disable, Reaction, Reply, Save/Edit/Translate a message),
  • Message swipe action (Reply, Save, Translate or Direct Share),
  • Large photos (2560px),
  • Spoiler effect,
  • Voice enhancements,
  • Enable/Disable playing video on volume button click,
  • Auto pause video while switching to the background,
  • Disable in-app vibration,
  • Double tap to seek videos,
  • Enable/Disable proximity sensor actions,
  • Enable/Disable incoming message sound or choose between IOS and Android,
  • Enable/Disable vibration in chats and choose vibration intensity,
  • Silence notifications from non-contacts.

Cherrygram Camera Preferences:

  • Camera Type (Default, CameraX or System camera),
  • Disable camera in attachments menu,
  • Default camera for video messages,
  • Custom camera aspect ratio for video-messages (1:1, 4:3 or 16:9).

Cherrygram Experimental Preferences:

  • Enable/Disable spring animations for app navigation,
  • Show a resident notification,
  • Toast all RPC errors,
  • Custom chat for Saved Messages,
  • Download speed boost,
  • Upload speed boost,
  • Slow network mode.

Cherrygram Security Preferences:

  • Enable/Disable Google Analytics,
  • Delete old cache folder (/sdcard/Telegram),
  • Delete your Telegram account.

API, Protocol documentation

Telegram API manuals: https://core.telegram.org/api

MTproto protocol manuals: https://core.telegram.org/mtproto

Compilation Guide

  1. Download the Cherrygram source code ( git clone https://github.com/arslan4k1390/Cherrygram.git )
  2. Fill out storeFile, storePassword, keyAlias, keyPassword in app's build.gradle to sign your app
  3. Go to https://console.firebase.google.com/, create two android apps with application IDs uz.unnarsx.cherrygram and uz.unnarsx.cherrygram.beta, turn on firebase messaging and download google-services.json, which should be copied into TMessagesProj folder.
  4. Open the project in the Studio (note that it should be opened, NOT imported).
  5. Fill out values in TMessagesProj/src/main/java/uz/unnarsx/cherrygram/Extra.kt – there’s a link for each of the variables showing where and which data to obtain.
  6. You are ready to compile and use Cherrygram.

Thanks to:

cherrygram's People

Contributors

arslan4k1390 avatar codwizer avatar immat0x1 avatar trellixvulnteam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cherrygram's Issues

Telegram ban

Does using 3rd party open source project as Android client (cherrygram) cause telegram ban ? I have experienced for 2 accounts both got banned and are limited now, please reply

Also how to solve this, cause I don't think there would be any other reason for it, I wasn't using it to spam anyone or to do any unethical stuff either, or neither any promotion.

[Enhancement] iOS like latest activity

Screenshot_20231209-201414_Cherrygram Beta~2

Add a toggle to switch from this (see screenshot) to "last seen just now", "last seen 3 minutes ago" and so on. And also, please add an ability to remove "last seen" prefix.
Thank you! Best mod I've ever used.

Notifications

I don't receive notifications at all on my device, Galaxy A22 , i need to enter to the app , to see if I received something
Screenshot_20221113_110918

Notifications not showing up or disappearing immediately

Notifications not showing up or disappearing immediately. All keep alive, notification permissions, and disabled battery exceptions were toggled on. Tested with regular Telegram client, which didn't have this issue.

Android 13, Samsung Note 20 Ultra.

Additional request: Ability to select and download multiple media/files. Downloading each file is time consuming if large quantities are needed.

Ghost Mode

Can you add a settings Ghost Mode please,

The corners of the in-call background canvas can be seen

Hi! First of all, thank you so much for your work and for developing Cherrygram - it's amazing!

Now, I noticed that on the tablet, when in call, the gradient background canvas is rotating - and this is great, yet the corners of the canvas can be seen, which is, as far as I know, undesired behavior. I tested this on my phone, and it does not appear. At the same time, it happens in every single call on the tablet - so, it probably is related to a large screen. I attach a GIF that shows how these "corners" are spinning while calling:

video_2024-03-13_13-06-05.mp4

Please do let me know if there is anything I can do to help, or if you need any other information.
Tablet - Mi Pad 6
Cherrygram v7.9.8 arm64-v8a

Hide All Chat

I can't find "hide all chat" option in appearance tab
Screenshot_20221106-095444_Cherrygram

M3 things

There is a possibility to add material 3 elements Like squared FAB, snackbar, inputs, chips and rounded menus?

@arsLan4k1390

be Cherrygram a FOSS

ẖi'd like to ask about skipping Cherrygram to be a fully FOSS !!!
it's very popular and obviously will bring Cherrygram much more users ! many people are getting rid of gcm and other garbage stuff out theirs phones! so, please, it would be really very powerfull!
patches for that may be taken from this repo, ayk:
github.com/Telegram-FOSS-Team/Telegram-FOSS

or, may be, if you please, to make a FOSS mod as a version - like HUAWEI mod exist now in Cherrygram’s releases!

many thanks in advance!

Feature!

Dear CherryGram Team, I'm a frequent user of CherryGram and have two feature suggestions that would be amazing additions. Firstly, enabling GPT-AI integration via an API key (similar to Exteragram/Ayugram) would introduce powerful new capabilities. Secondly, a "Ghost" mode inspired by Ayugram's feature would greatly enhance the app's versatility. Thank you for considering these ideas! Sincerely

System emoji loader disregards "ignore" in fonts.xml

Some ROMs specify "legacy" font version above the regular one in fonts.xml but put ignore="true" on it.
Most mods don't replace the legacy font but only the regular version.
Cherrygram disregards the ignore attribute and loads the legacy font anyway.
Could this possibly be corrected?

<family lang="und-Zsye" ignore="true">
    <font weight="400" style="normal">NotoColorEmojiLegacy.ttf</font>
</family>
<family lang="und-Zsye">
    <font weight="400" style="normal">NotoColorEmoji.ttf</font>
</family>

ROM: Lineage 20 for raphael (20-20230423-UNOFFICIAL-raphael)
App: 7.5.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.