/Infinity-For-Reddit

A Reddit client for Android

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

Infinity For Reddit Fork

There have been multiple reports of Reddit banning users of the app.

If you still want to use the app, update to at least version 5.9.2 and log out of all accounts to wipe the session cookies associated with older versions and login again.

⚠️ Warning

Asking users to input their credentials directly in the app is a big security risk. As a user you are also violating the Reddit User Agreement.

I implore everyone who uses this fork and similar projects to look at the commits yourself and ensure that the credentials are not being stolen.

The releases are automated.

Changes

This Fork enables a user to login via the official Reddit Accounts endpoint (no 3P authorize). The App will make requests that look like they are coming from the official Reddit App.

TODO (First Party Features)

  • Chat
    • basic messaging
    • render all types of messages
    • enable sending images and emotes
    • implement chat requests
  • Inline Subreddit Emotes, Gifs and Images in Comments
  • use GQL API for Home posts
  • use GQL API for Subreddit/User/Search posts
    • use the 1P Reddit DASH streams for external videos, i.e. REDGifs will load without a REDGifs API-Key.
    • fix video downloads missing audio
  • update to new federated GQL API
  • Giphy SDK
    • integrate SDK
    • use comment endpoint to post with RichtextJSON
    • Gif loading in Comment preview

External Media

  • External videos like REDGifs/Imgur will be loaded from the Reddit servers and not through an external API if possible.
  • You will be able to see the content of broken links, if they were mirrored to Reddit's servers before breaking.
  • This only works in the Subreddit, User, Search and Home Feeds. Support for Popular/All will be on hold, to not break compatibility.
  • Might break if the GQL API changes
  • old Gfycat links might not work

Want to input your own Client-ID?

Check out the Sub-Branch. You will be prompted to enter a Client-ID during login. The User-Agent will be determined by the two additional inputs, App name and Username.

Known Issues Version 5.8.0

  • Devices with >= Android 13 login error

Known Issues Version 5.7.3

  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • User related Feeds under "Post" section display the posts of the user

Known Issues Version 5.7.2

  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • Home feed does not load with "Save Scrolled Position in HOME" enabled
  • User related Feeds under "Post" section display the posts of the user

Known Issues Version 5.7.0

  • Images in text posts not loading correctly
    • probably due to the way the GQL API delivers the markdown text
  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • Home feed does not load with "Save Scrolled Position in HOME" enabled

Known Issues Version 5.6.4

  • Images in text posts not loading correctly
    • probably due to the way the GQL API delivers the markdown text
  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • Reddit GIFs cant be loaded

Known Issues Version 5.6.3

  • Images in text posts not loading correctly
    • probably due to the way the GQL API delivers the markdown text
  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • Reddit GIFs cant be loaded

Known Issues Version 5.6.2

  • Images in text posts not loading correctly
    • probably due to the way the GQL API delivers the markdown text
  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • The App refreshes the Access Token incorrectly resulting in logged in Users browsing with an anonymous account

Known Issues Version 5.6.1

  • Images in text posts not loading correctly
    • probably due to the way the GQL API delivers the markdown text
  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • The App refreshes the Access Token incorrectly resulting in logged in Users browsing with an anonymous account
  • The App refreshes the Access Token incorrectly during a pull refresh, resulting in logged in Users browsing with an anonymous account

Known Issues Version 5.6.0

  • Images in text posts not loading correctly
    • probably due to the way the GQL API delivers the markdown text
  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • The App refreshes the Access Token incorrectly resulting in logged in Users browsing with an anonymous account
  • the app uses the latest session cookie (i.e. the one from the last logged in account) for all access token refreshes

Known Issues Version 5.5.1

  • Images in text posts not loading correctly
    • probably due to the way the GQL API delivers the markdown text
  • external Videos being displayed as links
  • Devices with >= Android 13 login error
    • maybe some HMAC related Crypto APIs changed?
  • Youtube links not being displayed
  • the app uses the latest session cookie (i.e. the one from the last logged in account) for all access token refreshes

Known Issues Version 5.5.0

  • Images in text posts not loading correctly
  • external Videos being displayed as links
  • Devices with >= Android 13 login error
  • Youtube links not being displayed

A Reddit client on Android written in Java. It does not have any ads and it features a clean UI and smooth browsing experience


Infinity for Reddit is available on Google Play and F-Droid

Get it on Google Play Get it on F-Droid

Explore the docs »

Report a Bug · Request a Feature · Ask a Question


release license GitHub issues

Donation

Infinity for Reddit+:

Get it on Google Play

Patreon: https://www.patreon.com/docile_alligator

Bitcoin: bc1qxtkd5ap9na7uy8nr9qpt6jny6tdwaj4v43ddle

Table of Contents

About The Project

Key features of Infinity For Reddit:

  • Lazy mode: Automatic scrolling of posts enables you to enjoy amazing posts without moving your thumb.
  • Browsing posts
  • View comments
  • Expand and collapse comments section
  • Vote posts and comments
  • Save posts
  • Write comments
  • Edit comments and delete comments
  • Submit posts (text, link, image and video)
  • Edit posts (mark and unmark NSFW and spoiler and edit flair) and delete posts
  • See all the subscribed subreddits and followed users
  • View the messages
  • Get notifications of unread messages
  • etc...

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6 Screenshot 7

(back to top)

Contributing

First off, thanks for taking the time to contribute! Contributions are what makes the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. It's better to also open an issue describing the issue you want to fix. But it is not required.

Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Here are other ways you can help:

(back to top)

License

Distributed under the AGPL-3.0 License. See LICENSE for more information.

(back to top)

Contact

u/Hostilenemy - docilealligator.app@gmail.com (Owner)

or u/Wladefant - wladefant@gmail.com (Collaborator)

Project Link: https://github.com/Docile-Alligator/Infinity-For-Reddit

(back to top)