ReWeibo

ReWeibo 是一个面向微博轻享版(com.weico.international)的 LSPosed/Xposed 模块。

ReWeibo is an LSPosed/Xposed module for Weibo Lite (com.weico.international).

功能

  • 跳过微博轻享版启动页广告和时间线广告路径。
  • 强制主页时间线使用更干净的反向/新微博在前排序。
  • 过滤广告样式和无实际内容的时间线条目。
  • 按设定的时间跨度补齐、裁剪并恢复首页时间线缓存;大型缓存的读取、合并、过滤、正文/媒体补齐和断层扫描在后台处理,降低恢复时的卡顿与 ANR 风险。
  • 检测到缓存断层时分段回补并显示进度;批量插入历史微博时会恢复当前可见微博锚点,进度窗也会避开状态栏和刘海区域。
  • 在微博轻享版“我的”页提供 ReWeibo 设置入口,可控制入口显示、调整首页缓存时间跨度,并分别控制首页“跳转”和“删除”快捷按钮。
  • 可在 ReWeibo 设置中按微博发布时间清除指定范围;既可直接输入日期/时间(如 7号7-72026-07-07 12:30),也可使用日历。仅输入日期时按当天整日处理,并同步清除原生缓存、ReWeibo shadow cache 和当前内存时间线中的匹配微博,同时阻止旧任务写回已删除内容。
  • 首页“跳转”会显示实际缓存条数与可跳转时间范围,支持 7号7-11、完整日期时间等松散格式;仅输入日期时只在当天微博中定位,并拒绝超出缓存范围的输入。
  • 缓存恢复、清理、双击跳转和阅读位置操作只作用于当前可见首页,避免旧或隐藏页面、广告、重复项和伪尾项造成错误边界。
  • 按日期清理会优先保留当前已渲染微博,并重新补齐保留微博的正文与媒体字段,避免相邻日期内容变成空白。
  • 在可信缓存恢复后保存并恢复上次阅读位置,并显示“上次读到这里”标记。
  • 在可行时刷新或替换时间线视频的过期缓存地址。
  • 保留新浪微博和 Share 的旧 hook 供手动 scope 使用,但官方默认推荐 scope 只包含微博轻享版。

Features

  • Skips Weibo Lite splash-ad and timeline-ad paths.
  • Forces a cleaner reverse/newest-first order for the home timeline.
  • Filters ad-like and contentless timeline entries.
  • Fills, trims, and restores the home timeline cache to a configured time span. Large-cache loading, merging, filtering, text/media hydration, and gap scanning run in the background to reduce restore-time stalls and ANRs.
  • Backfills detected gaps in stages with visible progress, restores the visible-status anchor when history is inserted, and keeps the progress card below status-bar and display-cutout insets.
  • Adds a ReWeibo entry to Weibo Lite's profile drawer for controlling entry visibility, the home cache window, and the independent home “跳转” and “删除” shortcuts.
  • Clears cached statuses within an inclusive publication-time range across the native, ReWeibo shadow, and in-memory timeline caches. Users can type loose dates (for example 7, 7-7, or a full date/time) or use the calendar; date-only input covers the entire day, and stale queued work cannot restore deleted statuses.
  • The home “跳转” shortcut shows the real cached item count and jumpable time range. Loose dates such as 7号 and 7-11 are accepted, date-only input searches only that day, and out-of-range input is rejected.
  • Cache restoration, clearing, double-tap navigation, and reading-position actions target only the visible home timeline, preventing stale or hidden pages, ads, duplicates, and synthetic tail rows from creating false boundaries.
  • Date-range clearing prefers currently rendered statuses and rehydrates retained text and media, preventing adjacent retained dates from becoming blank rows.
  • Saves and restores the last-read position after trusted cache restoration, with a visible "上次读到这里" marker.
  • Refreshes or replaces expired cached timeline video URLs when possible.
  • Keeps legacy hooks for Sina Weibo and Share available for manual scopes, while the official recommended scope only includes Weibo Lite.

兼容性

  • 框架 API:经典 de.robv.android.xposed / XposedBridge API,不是 libxposed v2。
  • 最低 Xposed API:82
  • 默认推荐 scope:com.weico.international
  • 模块包名:com.tianqianguai.reweibo
  • 入口:assets/xposed_init -> com.tianqianguai.reweibo.MainHook
  • 模块描述:微博轻享版 LSPosed/Xposed 模块:去广告、反向时间线、阅读位置恢复

Compatibility

  • Framework API: classic de.robv.android.xposed / XposedBridge API, not libxposed v2.
  • Minimum Xposed API: 82.
  • Default recommended scope: com.weico.international.
  • Module package: com.tianqianguai.reweibo.
  • Entry point: assets/xposed_init -> com.tianqianguai.reweibo.MainHook.
  • Module description: Weibo Lite LSPosed/Xposed module for ad removal, reversed timeline, and reading-position recovery.

安装

  1. 安装 APK。
  2. 在 LSPosed 中启用模块。
  3. 应用微博轻享版的推荐 scope。
  4. 强制停止并重新打开微博轻享版。

Install

  1. Install the APK.
  2. Enable the module in LSPosed.
  3. Apply the recommended scope for Weibo Lite.
  4. Force stop and reopen Weibo Lite.

Releases

8/22/2026, 2:41:18 AM

ReWeibo 1.1.1

本版本修复微博轻享版大缓存下“清除缓存”弹窗卡顿的问题,并让时间线断层回补正确区分真实缺口与信息流自身的自然断点,不再反复重试无效缺口。

This release keeps the cache-clear dialog responsive over large Weibo Lite caches and stops timeline gap filling from repeatedly retrying natural feed pauses that are not real gaps.

新增与改进

  • 断层回补引入“已验证自然断层”记录:当补齐请求跨过缺口边界、返回的数据不含目标微博时,将该间隔确认为信息流自身的自然断点,并按缓存范围持久化保存(最多记住 128 条);后续扫描自动跳过这些间隔并继续寻找下一个真实断层。
  • 补充自然断层判定与跳过逻辑的单元测试。

Added And Improved

  • Adds verified natural-gap tracking to timeline gap filling: when a refill request crosses the gap boundary and returns data that does not contain the target status, the interval is confirmed as a natural feed pause and persisted per cache scope (up to 128 entries); later scans skip these intervals and continue searching for the next real gap.
  • Adds unit tests covering verified-natural-gap detection and skipping.

修复

  • 修复打开“清除缓存”时间范围弹窗时在主线程统计大缓存导致的界面卡顿甚至 ANR;缓存范围现在改为后台线程读取并提示“正在读取缓存范围,请稍候”,读取中或清理进行中重复打开会得到相应提示而不再重复加载。

Fixes

  • Fixes UI freezes and ANRs caused by computing large-cache statistics on the main thread when opening the cache-clear range dialog; stats now load on a background thread with a “正在读取缓存范围,请稍候” toast, and reopening while loading or during an active clear shows a notice instead of reloading.

求 Star ⭐

如果 ReWeibo 对你有帮助,欢迎到 GitHub 仓库点一个 Star:https://github.com/Xposed-Modules-Repo/com.tianqianguai.reweibo

你的每一个 Star 都是项目持续维护和更新的最大动力!

Star Request ⭐

If ReWeibo helps you, please consider giving it a star on GitHub: https://github.com/Xposed-Modules-Repo/com.tianqianguai.reweibo

Every star keeps the project going — thank you for your support!

Assets

1

7/27/2026, 10:57:08 AM

ReWeibo 1.1.0

本版本集中完善微博轻享版的大缓存管理、按日期清理和首页快捷操作,并修复补齐或清理过程中出现的卡顿、位置跳动、边界误判和正文空白。

This release improves large-cache handling, date-based clearing, and home timeline shortcuts in Weibo Lite, while fixing ANRs, viewport jumps, false boundaries, and blank retained statuses during cache operations.

新增与改进

  • 将大型时间线缓存的读取、合并、过滤、正文/媒体补齐和断层扫描移出主线程,并合并重复恢复请求,降低大缓存恢复时的 ANR、重复读取和部分写入风险。
  • 在 ReWeibo 应用内设置中新增按微博发布时间范围清除缓存;支持日历及 7号7-7、完整日期时间等松散输入,单独日期按整天处理。
  • 清理会同步改写微博轻享版原生缓存、ReWeibo shadow cache 和当前内存时间线,并阻止已排队的旧任务将已删除内容写回。
  • 时间线“跳转”支持与清理一致的松散日期格式;仅输入日期时只在当天微博中定位,并优先作用于当前可见首页。
  • 在首页增加“跳转”和“删除”快捷按钮,并允许在 ReWeibo 设置中分别控制两个按钮是否显示。
  • 缓存恢复会直接同步当前首页 Adapter;双击、日期跳转和阅读位置操作只允许当前可见首页响应。
  • 断层补齐会捕获并恢复当前可见微博锚点,批量插入历史微博时保持阅读位置。

Added And Improved

  • Moves large timeline-cache loading, merging, filtering, text/media hydration, and gap scanning off the main thread, and coalesces duplicate restores to reduce ANRs, duplicate reads, and partial-write risk.
  • Adds publication-time range clearing to the in-app ReWeibo settings, with calendar selection and loose input such as 7号, 7-7, or full date/time values; date-only input covers the entire day.
  • Updates Weibo Lite's native cache, the ReWeibo shadow cache, and the current in-memory timeline together, while preventing queued stale tasks from restoring deleted statuses.
  • Accepts the same loose date forms for timeline jumps; date-only input searches only that day and targets the currently visible home timeline.
  • Adds home timeline “跳转” and “删除” shortcuts, each independently configurable from ReWeibo settings.
  • Applies restored cache data directly to the current home adapter and scopes double-tap, date-jump, and last-read actions to the visible home timeline.
  • Captures and restores the visible-status anchor during gap filling so inserting historical statuses does not move the current reading position.

修复

  • 修复手动清除某一天后,相邻未删除日期的当前可见微博只剩作者、日期和互动数而正文为空的问题;清理现在优先保留当前已渲染对象,并重新补齐所有保留微博的正文与媒体字段。
  • 修复旧或隐藏 Fragment 的短列表仍被误当成首页,以及广告、重复项或伪尾项导致日期跳转和“没有更多内容”边界判断错误的问题。
  • 修复补齐进度窗顶端进入状态栏或刘海区域的问题,窗口现在根据实际安全区下移并保留顶部间距。

Fixes

  • Fixes visible statuses from adjacent retained dates becoming metadata-only rows with blank bodies after clearing another date; clearing now prefers currently rendered objects and rehydrates text and media for all retained statuses.
  • Prevents short lists from stale or hidden fragments, plus ad, duplicate, or synthetic tail rows, from producing incorrect date-jump and “no more content” boundaries.
  • Keeps the gap-fill progress card below the actual status-bar and display-cutout safe area with additional top spacing.

Assets

1

7/15/2026, 8:52:45 AM

ReWeibo 1.0.1

本版本修复微博轻享版缓存设置、缓存持久化和上次阅读位置在刷新及重启后的可靠性问题。

This release fixes Weibo Lite cache settings, cache persistence, and last-read continuity across refreshes and restarts.

模块元数据

  • 模块包名:com.tianqianguai.reweibo
  • 版本:1.0.1
  • VersionCode:2
  • Release tag:2-1.0.1
  • 默认推荐 scope:com.weico.international

Module Metadata

  • Module package: com.tianqianguai.reweibo
  • Version: 1.0.1
  • Version code: 2
  • Release tag: 2-1.0.1
  • Default recommended scope: com.weico.international

修复与优化

  • 修复缓存天数在冷启动时被默认 3 天覆盖的问题;轻享版内的深色设置弹窗现在同步保存并读取 1-30 天。
  • 旧模块设置页不再写入另一份互相矛盾的数字配置,仅在首次使用时迁移旧值。
  • 稳定拦截“我的”页 ReWeibo 入口,同时不覆盖其他原生抽屉项的点击行为。
  • 按 status id 合并实时、原生与 shadow cache,在设置确认前不裁剪或误判补齐完成。
  • 使用微博轻享版自身的 Gson 流式写入完整缓存,fsync 后通过同目录原子替换提交,成功后才更新 shadow cache。
  • 保存有限的上次阅读历史及回退锚点,使“上次读到这里”在缓存恢复和断层回补期间仍可用。
  • 扩展补齐页数和条目安全上限以支持最多 30 天缓存,并新增缓存合并、完成条件与反射路径回归测试。

Fixed And Improved

  • Prevents the cache window from falling back to three days during a cold start; the dark in-app dialog now synchronously persists and reads 1-30 days.
  • Stops the legacy module page from writing a conflicting numeric value while retaining one-time migration of the old setting.
  • Reliably intercepts the ReWeibo profile entry without replacing click behavior on native drawer items.
  • Merges live, native, and shadow caches by status id and avoids trimming or declaring completion before settings are confirmed.
  • Streams the full cache through Weibo Lite's own Gson, calls fsync, atomically replaces the native file in the same directory, and updates the shadow only after success.
  • Keeps bounded last-read history and fallback anchors so the “上次读到这里” marker remains available during restoration and gap repair.
  • Expands preload page and item safety limits for up to 30 days and adds regression coverage for merging, completion gates, and reflection paths.

验证

  • testDebugUnitTestlintDebugassembleRelease 全部通过。
  • Android 16 设备 192.168.6.17:5555 上完成 29 → 30 天保存、冷启动读取、3546 条缓存恢复、JSON 解析和上次阅读标记验证。
  • 发布 APK 使用与 1.0 相同的 release 证书签名。

Verification

  • testDebugUnitTest, lintDebug, and assembleRelease all pass.
  • Verified 29 → 30 day persistence, cold-start loading, restoration of 3546 cached statuses, JSON parsing, and the last-read marker on Android 16 device 192.168.6.17:5555.
  • The release APK is signed with the same release certificate as 1.0.

已知限制

  • 上游断层游标当前会返回空数据,因此尚未完成真实 30 天完整规模的长期内存压力测试。

Known Limit

  • The upstream gap cursor currently returns empty data, so a full 30-day long-duration memory soak has not yet been completed.

Assets

1

7/9/2026, 8:27:15 AM

ReWeibo 1.0

ReWeibo 的第一个官方 LSPosed/Xposed 仓库版本。

First official LSPosed/Xposed repository release for ReWeibo.

模块元数据

  • 模块包名:com.tianqianguai.reweibo
  • 版本:1.0
  • VersionCode:1
  • Release tag:1-1.0
  • Xposed API:经典 de.robv.android.xposed / XposedBridge API
  • 最低 Xposed API:82
  • 默认推荐 scope:com.weico.international
  • 入口:assets/xposed_init -> com.tianqianguai.reweibo.MainHook
  • 模块描述:微博轻享版 LSPosed/Xposed 模块:去广告、反向时间线、阅读位置恢复

Module Metadata

  • Module package: com.tianqianguai.reweibo
  • Version: 1.0
  • Version code: 1
  • Release tag: 1-1.0
  • Xposed API: classic de.robv.android.xposed / XposedBridge API
  • Minimum Xposed API: 82
  • Default recommended scope: com.weico.international
  • Entry point: assets/xposed_init -> com.tianqianguai.reweibo.MainHook
  • Module description: Weibo Lite LSPosed/Xposed module for ad removal, reversed timeline, and reading-position recovery.

主要目标

这个版本主要面向微博轻享版(com.weico.international)。仓库元数据和 LSPosed 推荐 scope 都有意只发布微博轻享版。

Primary Target

This release is focused on Weibo Lite (com.weico.international). The repository metadata and LSPosed recommended scope intentionally advertise only Weibo Lite.

微博轻享版改动

  • 跳过微博轻享版启动页广告路径。
  • 抑制受支持微博轻享版版本中的时间线 UVE/ad 检测和请求路径。
  • 通过设置层和 presenter 层 hook 强制主页时间线使用反向/新微博在前排序。
  • 规范化来自网络、缓存、presenter 事件和展示事件的时间线数据。
  • 在广告样式状态进入可见 feed 前过滤它们。
  • 过滤会形成空白行的无实际内容时间线占位条目。
  • 当微博轻享版提供足够源数据时,恢复缓存状态的富文本和媒体字段。
  • 按设置的时间跨度补齐、裁剪并恢复首页时间线缓存;检测缓存断层后分段回补、显示进度、保存检查点,并维护 shadow cache 标记。
  • 在微博轻享版“我的”页增加 ReWeibo 设置入口,用于控制入口显示和首页缓存时间跨度。
  • 在头像下方增加“跳转”按钮;深色时间弹窗展示实际缓存条数与 MM-dd HH:mm 可跳转范围,并拦截越界输入。
  • 记录可信的上次阅读 status id,并在缓存恢复后显示“上次读到这里”标记。
  • 捕获刷新锚点,让手动刷新后尽量回到之前可见的时间线条目附近。
  • 增加顶部栏双击处理,用于快速跳转到时间线边缘。
  • 打开时间线视频时,如果存在可用备用 URL 或 status id 刷新路径,会刷新或替换过期缓存视频 URL。
  • 通过 hook 基础 SwipeRefreshLayout 路径禁用时间线下拉刷新干扰。

Weibo Lite Changes

  • Skips splash-ad startup paths in Weibo Lite.
  • Suppresses the timeline UVE/ad detection and request paths used by supported Weibo Lite versions.
  • Forces the home timeline into reverse/newest-first behavior through both setting-level and presenter-level hooks.
  • Normalizes timeline data loaded from network, cache, presenter events, and display events.
  • Filters ad-like timeline statuses before they reach the visible feed.
  • Filters contentless timeline placeholder entries that would otherwise leave blank rows.
  • Restores decorated text and media fields for cached statuses when Weibo Lite provides enough source data.
  • Fills, trims, and restores the home timeline cache to a configured time span, backfilling detected gaps in stages with progress, checkpoints, and a shadow-cache marker.
  • Adds a ReWeibo entry to Weibo Lite's profile drawer for controlling entry visibility and the home timeline cache window.
  • Adds a "跳转" button below the avatar; its dark time dialog shows the actual cached item count and MM-dd HH:mm jump range, and rejects out-of-range input.
  • Tracks a trusted last-read status id and shows a visible "上次读到这里" marker after cache restoration.
  • Captures refresh anchors so manual refreshes can return near the previously visible timeline item.
  • Adds top-bar double-tap handling for fast timeline-edge navigation.
  • Refreshes or replaces stale cached video URLs when opening timeline videos if an alternate usable URL or status id refresh path is available.
  • Disables pull-refresh interference on the timeline by hooking the base SwipeRefreshLayout path.

保留但不默认推荐的旧 hook

代码库仍保留以下旧 hook:

  • 新浪微博(com.sina.weibo):反向 feed 布局和自动滚动行为。
  • Share(com.hengye.share):反向阅读流、“显示更多”捕获和“上次阅读”标记导航。

这些 hook 仍可供用户在 LSPosed 中手动添加 scope 后使用,但它们不是本次第一个官方版本的发布推荐 scope。

Legacy Hooks Kept But Not Advertised

The codebase still includes older hooks for:

  • Sina Weibo (com.sina.weibo): reverse feed layout and auto-scroll behavior.
  • Share (com.hengye.share): reverse reading flow, "显示更多" capture, and "上次阅读" marker navigation.

These hooks remain available for users who manually add scopes in LSPosed, but they are intentionally not part of the published recommended scope for this first official release.

兼容性说明

  • 本模块使用经典 XposedBridge API,不使用 libxposed v2。
  • 本模块是小型 Java Android application module,xposed-bridge-api.jar 作为 compileOnly 依赖。
  • Release 使用私有 release keystore 签名。Debug keystore 签名的 APK 不用于公开分发。

Compatibility Notes

  • This module uses the classic XposedBridge API, not libxposed v2.
  • It is built as a small Java Android application module with xposed-bridge-api.jar as a compileOnly dependency.
  • Release signing is done with a private release keystore. Debug-keystore signed APKs are not intended for public distribution.

已知限制

  • 微博轻享版内部实现有混淆且依赖版本;上游 App 更新后,广告和时间线 hook 名称可能需要继续维护。
  • 微博轻享版中的程序化加载更多和断层补齐依赖内部 EasyRecyclerView 行为并需要应用保持前台;版本差异、服务器空页或安全上限可能暂停补齐,仍无法在所有路径上完全替代真实用户交互。
  • 新浪微博和 Share 的旧 hook 会继续保留供手动使用,但不是本次 release 的主要支持目标。

Known Limits

  • Weibo Lite internals are obfuscated and version-sensitive; ad and timeline hook names may need future maintenance after upstream app updates.
  • Programmatic load-more and gap filling depend on Weibo Lite's internal EasyRecyclerView behavior and require the app to remain in the foreground; version differences, server-empty pages, or safety limits can pause filling, so real user interaction still cannot be replaced in every path.
  • Legacy Sina Weibo and Share hooks are retained for manual use but are not the main support target of this release.

Assets

1