# shatyuka/zhiliao

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/shatyuka-zhiliao).**

2,712 stars · 117 forks · Java · gpl-3.0

## Links

- GitHub: https://github.com/shatyuka/Zhiliao
- Homepage: https://repo.xposed.info/module/com.shatyuka.zhiliao
- awesome-repositories: https://awesome-repositories.com/repository/shatyuka-zhiliao.md

## Topics

`xposed` `zhihu` `zhiliao`

## Description

Zhiliao is an Xposed Android app module designed to modify the behavior and interface of the Zhihu mobile application. It functions as a runtime modification tool that uses hook injection to alter application elements and logic.

The project provides system-level ad blocking to remove promotional content from feeds, search results, comments, and startup screens. It includes a rule-based content filtering engine that uses keywords and regular expressions to hide specific post types, such as videos and articles, or social features.

The module offers interface customization and navigation enhancements, including the implementation of swipe gestures for browsing answers, custom startup page redirection, and the removal of various UI components via reflection. It also includes utilities for suppressing notification badges and unlocking third-party login providers.

This module is compatible with Xposed, Xpatch, and LSPatch runtime environments.

## Tags

### Mobile Development

- [Xposed Framework Hooking Modules](https://awesome-repositories.com/f/mobile-development/xposed-framework-hooking-modules.md) — Provides a set of modules leveraging the Xposed framework to inject custom code into Android processes for runtime modification.
- [Android App Modifications](https://awesome-repositories.com/f/mobile-development/android-app-modifications.md) — Functions as a runtime modification tool that uses the Xposed framework to alter app behavior and interface elements.
- [Mobile Navigation UX Enhancements](https://awesome-repositories.com/f/mobile-development/mobile-navigation-ux-enhancements.md) — Enhances the mobile user experience by implementing custom swipe gestures and bypassing internal redirects.

### Security & Cryptography

- [Mobile Ad Blocking Subscriptions](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking/mobile-ad-blocking-subscriptions.md) — Implements system-level ad blocking by hooking into the app's network or rendering layer.
- [Keyword-Based Content Filters](https://awesome-repositories.com/f/security-cryptography/keyword-based-content-filters.md) — Blocks unwanted content by matching user-defined keywords or regular expressions against UI elements.
- [Ad Blocking and Breakage Repairs](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking/ad-blocking-and-breakage-repairs.md) — Suppresses promotional content and advertisements inserted into the main information feed. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Mobile App Ad Blocking](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking/ad-blocking-and-breakage-repairs/mobile-app-ad-blocking.md) — Removes advertisements and promotional content from the mobile app using system-level Xposed hooks.
- [Malicious Ad SDK Blocking](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking/malicious-ad-sdk-blocking.md) — Blocks advertising components within the comment sections using system-level hooks. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Search Ad Visibility Control](https://awesome-repositories.com/f/security-cryptography/search-result-content-filters/search-ad-visibility-control.md) — Strips advertisements displayed within search results. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [UI Layer Ad Blocking](https://awesome-repositories.com/f/security-cryptography/privacy-and-ad-blocking/ad-blocking-and-breakage-repairs/ui-layer-ad-blocking.md) — Implements a system-level interceptor that removes promotional content from the application rendering layer.

### Content Management & Publishing

- [Regex Content Filtering](https://awesome-repositories.com/f/content-management-publishing/community-content-feeds/feed-content-filtering/regex-content-filtering.md) — Matches user-defined regular expressions against visible UI elements to block unwanted content.
- [Rule-Based Content Engines](https://awesome-repositories.com/f/content-management-publishing/community-content-feeds/feed-content-filtering/regex-content-filtering/rule-based-content-engines.md) — Provides a rule-based system that hides posts and comments using keyword matching and regular expressions.

### User Interface & Experience

- [Feed Content Filtering](https://awesome-repositories.com/f/user-interface-experience/feed-content-filtering.md) — Hides all article posts from the main content feed. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [In-App Advertisement Removal](https://awesome-repositories.com/f/user-interface-experience/in-app-advertisement-removal.md) — Strips advertisements displayed within answer lists and at the bottom of answer pages. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Interface Element Hiding](https://awesome-repositories.com/f/user-interface-experience/interface-element-hiding.md) — Uses Java reflection to manipulate the view hierarchy and hide specific interface components. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Activity Redirection](https://awesome-repositories.com/f/user-interface-experience/activity-redirection.md) — Intercepts the initial application launch activity to route the user to a custom start page.
- [Gesture Navigation](https://awesome-repositories.com/f/user-interface-experience/drag-and-drop-libraries/gesture-navigation.md) — Allows navigating to the next or previous answer using left and right swipe gestures. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Navigation Overrides](https://awesome-repositories.com/f/user-interface-experience/drag-and-drop-libraries/gesture-navigation/navigation-overrides.md) — Replaces default button interactions with custom swipe gestures and activity redirection.
- [Video Content Filtering](https://awesome-repositories.com/f/user-interface-experience/feed-content-filtering/video-content-filtering.md) — Hides all video posts from the main content feed. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Immersive Mode System Bars](https://awesome-repositories.com/f/user-interface-experience/immersive-mode-system-bars.md) — Enables full-screen rendering by drawing content behind the system status bar.
- [App Interface Customization](https://awesome-repositories.com/f/user-interface-experience/interface-theme-customizers/app-interface-customization.md) — Modifies visual and behavioral elements including the status bar, themes, navigation, and the start page.
- [Interface Themes](https://awesome-repositories.com/f/user-interface-experience/interface-themes.md) — Blocks the application of special event or holiday visual themes. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Touch Navigation Interfaces](https://awesome-repositories.com/f/user-interface-experience/navigation-components/touch-navigation-interfaces.md) — Implements swipe-to-advance functionality to navigate between answers using touch gestures.
- [Splash Ad Removals](https://awesome-repositories.com/f/user-interface-experience/splash-screen-customizations/splash-ad-removals.md) — Strips the startup advertisement screen that appears during application launch. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Startup Redirections](https://awesome-repositories.com/f/user-interface-experience/startup-redirections.md) — Sets a user-defined launch page by intercepting the app's startup activity and redirecting to a specified fragment.
- [Color Mode Utilities](https://awesome-repositories.com/f/user-interface-experience/styling-theming-systems/content-styling/theme-management/color-mode-utilities.md) — Provides controls to lock the interface into a specific light or dark color scheme. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
- [Touch Gesture Handlers](https://awesome-repositories.com/f/user-interface-experience/touch-gesture-handlers.md) — Captures and overrides default touch inputs to implement custom swipe gestures.
- [UI Customization Tools](https://awesome-repositories.com/f/user-interface-experience/ui-customization-tools.md) — Provides tools for modifying window flags, navigation gestures, and layout elements via Java reflection.

### Part of an Awesome List

- [Social Feature Blocking](https://awesome-repositories.com/f/awesome-lists/security/spam-filtering/social-content-filters/social-feature-blocking.md) — Removes social elements like community circles, live-stream buttons, and notification badges from the interface. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))

### Business & Productivity Software

- [Recommendation Dismissals](https://awesome-repositories.com/f/business-productivity-software/content-recommendations/recommendation-dismissals.md) — Removes product recommendation cards from the user interface. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))

### Development Tools & Productivity

- [External Link Openers](https://awesome-repositories.com/f/development-tools-productivity/external-link-openers.md) — Bypasses internal redirect pages to open external links immediately in the default system browser. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))

### Education & Learning Resources

- [Layout Simplification](https://awesome-repositories.com/f/education-learning-resources/educational-resources/reference-and-media/technical-media-literature/articles/layout-simplification.md) — Strips extraneous elements from the article reading view to create a cleaner layout. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))

### Programming Languages & Runtimes

- [Reflection-Based Access](https://awesome-repositories.com/f/programming-languages-runtimes/class-member-access/object-member-access/private-property-access/reflection-based-access.md) — Uses Java reflection to access and modify the app's view hierarchy for hiding interface elements.

### System Administration & Monitoring

- [Promotion Removals](https://awesome-repositories.com/f/system-administration-monitoring/user-group-management/membership-removals/promotion-removals.md) — Strips membership upgrade prompts and recommendations from the content feed. ([source](https://cdn.jsdelivr.net/gh/shatyuka/zhiliao@master/README.md))
