Giter Site home page Giter Site logo

boyxil / notsoandroidayugram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dr4iv3rnope/notsoandroidayugram

0.0 0.0 0.0 523.49 MB

AyuGram for Android without proprietary features.

License: GNU General Public License v2.0

Shell 0.01% C++ 31.74% Python 0.07% Perl 1.58% C 22.51% Objective-C 0.05% Java 40.56% Go 1.31% Assembly 1.77% MATLAB 0.01% CSS 0.01% Objective-C++ 0.11% Makefile 0.01% HTML 0.01% CMake 0.16% GLSL 0.01% Dockerfile 0.01% Roff 0.01% Raku 0.01% NASL 0.12%

notsoandroidayugram's Introduction

What's this fork even about?

It's fork of AyuGram for Android "without proprietary" with no hidden source files and with full code transparency unlike original project. If you don't trust Github Actions, just build apk by yourself!

The differences between original project and this fork:

  1. Reverse engineered source files that was hidden in private repository
  2. You can build that application by yourself and forget about "implementing AyuHistoryHook and AyuMessageUtils"
  3. AyuStinc(Sync) removed
  4. You can download APK directly from this repository

Other information about original project you can find here

Where do i find APK?

There's multiple ways to get AyuGram:

  1. Download builded .apk from Github Actions
  2. Build it using Android Command Line Tools
  3. Build it using Github Actions
  4. Build it using Android Studio

Build via Android Command Line Tools

Ensure you have installed Android Command Line Tools

  1. Clone this repository

    git clone https://github.com/Dr4iv3rNope/NotSoAndroidAyuGram.git

  2. Navigate to repository

    cd NotSoAndroidAyuGram

  3. Create "local.properties" and add "sdk.dir" variable

    sdk.dir=/path/to/android-sdk
    
  4. Generate signing keys

    Command example: keytool -genkey -v -keystore release-key.keystore -alias release-key-alias -keyalg RSA -keysize 2048 -validity 10000

  5. Put generated .keystore file to TMessagesProj/config/extera.jks

    mv release-key.keystore TMessagesProj/config/extera.jks

  6. Create API_KEYS file with following content

    APP_ID = 6
    APP_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
    MAPS_V2_API = <...>
    
    SIGNING_KEY_PASSWORD = myPassword
    SIGNING_KEY_ALIAS = release-key-alias
    SIGNING_KEY_STORE_PASSWORD = myPassword
    
  7. Get Google Firebase "google-services.json" configuration file

    It's required... So just generate it using this instruction

  8. Add "google-services.json" to this project

    Put this file into TMessageProj/google-services.json

  9. Build APK!

    Build APK using ./gradlew <Task name>

    If you're not sure about your devices ABI, just build using ./gradlew assembleAfat

    Task name Output APK ABI
    assembleAfat (Recomended) "universal apk" that can be used on all devices
    assembleArm64 arm64-v8a
    assembleArmv7 armeabi-v7a
    assembleX64 x86_64
    assembleX86 x86

    Other tasks can be listed using ./gradlew tasks

Set up Github Actions

You can generate base64 string via:

  • Linux terminal: base64 <filename>
  • Powershell: [Convert]::ToBase64String([IO.File]::ReadAllBytes("<filename>"))
  1. Generate keystore file (it's 4th step from the command line tools build instruction) and convert it into base64
  2. Generate google-services.json file and convert it into base64
  3. Go to repository settings > Secrets and variables > Actions
  4. Add SIGNING_KEYSTORE_FILE_IN_BASE64 secret with base64 string generated from 1st step
  5. Add GOOGLE_SERVICES_JSON_FILE_IN_BASE64 secret with base64 string generated from 2nd step
  6. Add SIGNING_KEY_PASSWORD secret with keystore file password value
  7. Add SIGNING_KEY_ALIAS secret with keystore alias name value
  8. Now you're ready to run build workflow!

Build via Android Studio

Android studio can be downloaded here

  1. Clone this repository
  2. Open the project in Android Studio. It should be opened, not imported
  3. Generate and replace google-services.json (he don't want to see crash reports from your app...)
  4. Generate signing keys and fill API_KEYS
  5. Build it!

AyuGram Localization

Crowdin Crowdin

We have our own Crowdin.

But since AyuGram is based on exteraGram, also join their project at Crowdin!

Credits

notsoandroidayugram's People

Contributors

immat0x1 avatar alexeyzavar avatar attorelle avatar drklo avatar xaxtix avatar dr4iv3rnope avatar the8055u avatar itsv1eds avatar quagsirus avatar 23rd avatar jsonchi avatar tehcneko avatar qwq233 avatar alabiaga avatar zhukov avatar janka102 avatar mastergroosha avatar nikitasius avatar acran avatar slp avatar spagy avatar yorlov avatar abcdeiko avatar kyeongmincho avatar ruival avatar thermatk avatar xmdnx avatar

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.