MCPcopy Index your code
hub / github.com/crimera/piko

github.com/crimera/piko @v3.7.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.7.0 ↗ · + Follow
1,749 symbols 4,500 edges 420 files 48 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<img src="https://socialify.git.ci/crimera/piko/image?forks=1&language=1&name=1&owner=1&pattern=Circuit%20Board&stargazers=1&theme=Auto" alt="piko" width="640" height="320" />

Morphe patches focused on Twitter/X & Instagram

🕹️ Usage

Starting with patches v3.0.0, Piko patches use Morphe.

Morphe Manager

Show steps

Use the deep link to add Piko as a patch source in Morphe Manager:

➕ Add Piko to Morphe

Then patch Twitter/X or Instagram: 1. Tap X or Instagram app icon in Morphe 2. Download original APKM file from ApkMirror. Do not unspilt or modify the file, Morphe patches APKM directly 3. Wait for patching to complete, install

Morphe CLI

java -jar cli.jar patch --patches piko.mpp input.apkm

X-Shim

To patch with Twitter/X version 11.88 and above, you must include patches from another repo/project called Piko-Shim developed by @inotia00

➕ Add X-Shim to Morphe

⚠️Important steps⚠️ * Enable expert mode in Morphe Manager. * You must select all patches from the X Shim bundle and recommended/preferred patches from Piko. DO NOT INCLUDE patches from any other bundles. * Select "Proceed anyway" at the prompt warning of using multiple bundles.

⚠️Additional Context⚠️

  • An active internet connection is required during patching.
  • XChat decryption and XChat video calls work.
  • The X Shim patch only adds a compatibility shim layer and pairip is not removed.

For an up-to-date patching guide, follow this Reddit guide.

⚙️ Patch Details

v3.7.0  •  main  •  123 patches total

📦 X  •  72 patches

🎯 Supported versions:

11.81.0-release.0 11.99.0-release-ripped.1 12.0.0-release.0 12.2.0-release.0
💊 Patch 📜 Description ⚙️ Options
Add ability to copy media link
Block redirecting to X Lite Blocks redirecting to the new X Android UI on launch
Bring back twitter Bring back old twitter logo and name
Browse tweet object Adds an option to browse the tweet object in the share menu.
Change app icon
Change version code Changes the version code of the app. This will turn off app store updates and allows downgrading an existing app install to an older app version. • Version code
Clear tracking params Removes tracking parameters when sharing links
Control video auto scroll Control video auto scroll in immersive view
Custom download folder Change the download directory for video downloads
Custom emoji font Customise emoji font style
Custom font Customise font style
Custom sharing domain Allows for using domains like fxtwitter when sharing tweets/posts.
Customise post font size
Customize Inline action Bar items
Customize Navigation Bar items
Customize default reply sorting
Customize explore tabs
Customize notification tabs
Customize profile tabs
Customize search suggestions
Customize search tab items
Customize side bar items
Customize timeline top bar
Delete from database Delete entries from database(cache)
Disable auto timeline scroll on launch
Disable chirp font
Disunify xchat system Bring back legacy features like messages and share sheet.
Download patch Unlocks the ability to download videos and gifs from Twitter/X
Dynamic color Replaces the default Twitter Blue with the user's Material You palette.
Enable PiP mode automatically Enables PiP mode when you close the app
Enable Undo Posts Enables ability to undo posts before posting
Enable debug menu for posts
Enable force HD videos Videos will be played in highest quality always
Export all activities Makes all app activities exportable.
Force enable translate Get translate option for all posts
Handle custom twitter links Adds support for opening custom twitter links such as vxtwitter, fxtwitter, and fixupx within the app. These will have to be manually enabled under the "Open by default" section in the app info! • Custom sharing domains

• Include unofficial vxtwitter/fxtwitter instance links | | Hide Banner | Hide new post banner | | | Hide Community Notes | | | | Hide FAB | Adds an option to hide Floating action button | | | Hide FAB Menu Buttons | | | | Hide Live Threads | | | | Hide Recommended Users | Hide recommended users that pops up when you follow someone | | | Hide badges from navigation bar icons | Hides notification nudges & counts from navigation bar icons | | | Hide bookmark icon in timeline | | | | Hide community badges | | | | Hide followed by context | Hides followed by context under profile | | | Hide hidden replies | | | | Hide immersive player | Removes swipe up for more videos in video player | | | Hide nudge button | Hides follow/subscribe/follow back buttons on posts | | | Hide post metrics | Hides like, reposts etc counts. | | | Hide promote button | Hides promote button under self posts | | | Hide recommendation items | Adds options to hide recommendation items such as "Who to follow" and "Today's news" in timeline, search, and replies. | | | Hook feature flag | | | | Import/Export login token | Adds an feature to export and import the token of accounts. This is useful when logging in on your second device or when re-installing piko. | | | Legacy share links | Brings back username on post share links. Works post 11.4x.xx | | | Log server response | Log json responses received from server | | | Native downloader | Requires X 11.0.0-release.0 or higher. | | | Native reader mode | Requires X 11.0.0-release.0 or higher. | | | Native translator | Requires X 11.0.0-release.0 or higher. | | | No shortened URL | Get rid of t.co short urls. | | | Pause search suggestions | Search suggestions will not be saved locally | | | Remove Ads | Removed promoted posts, trends and google ads | | | Remove premium upsell | Removes premium upsell in home timeline | | | Remove search suggestions | Hide/Remove search suggestion in explore section | | | Remove view count | Removes the view count from the bottom of tweets | | | Round off numbers | Enable or disable rounding off numbers | | | Selectable Text | Makes bio and username selectable | | | Share Tweet as Image | Share tweets as rendered image. Requires X 11.0.0-release.0 or higher. | | | Show changelogs | Shows changelogs when new a patch is installed. | | | Show poll results | Adds an option to show poll results without voting | | | Show post source label | Source label will be shown only on public posts | | | Show sensitive media | | |

📦 Instagram  •  51 patches

🎯 Supported versions:

435.0.0.37.76
💊 Patch 📜 Description ⚙️ Options
Add settings Adds settings to control preferences are patching
Allow user network certificate Allows user network certificate for whitehat testing
Amoled theme Replaces Instagram's dark-mode background greys with pure black for AMOLED displays.
Change like animation Change the animation to one from existing Rings like animations
Change version code Changes the version code of the app. This will turn off app store updates and allows downgrading an existing app install to an older app version. • Version code
Clone Changes the package name and the app name. This allows you to install the patched app alongside the original Instagram app.

Caution: Do not select the official Morphe's "Change package name" universal patch. | • Package name

• App name | | Copy comment | Adds a button to copy comments on posts and reels. | | | Customise story ring size | | | | Customise story timestamp | Customise the timestamp that shows when the story was posted | | | Disable Reels scrolling | Disables the endless scrolling behavior in Instagram Reels, preventing swiping to the next Reel. Note: On a clean install, the 'Tip' animation may appear but will stop on its own after a few seconds. | | | Disable ads | | | | Disable analytics | Block analytics that are sent to Instagram/Facebook servers. | | | Disable comments | | | | Disable discover people | Disables discover people section on user profile | | | Disable double tap like | Disable double tap like on post, reel, comment and message | | | Disable explore | | | | Disable highlights | | | | Disable screenshot detection | Disables screenshots detection in DM | | | Disable stories | | | | Disable story flipping | Disable automatic flipping/moving to next story | | | Disable typing status | | | | Disable video autoplay | | | | Download media | Adds ability to download posts, reels, stories and highlights | | | Download voice message | Enables ability to download voice messages | | | External downloader | Adds support to share post links directly to external downloader | | | Friendship status indicator | Adds a follows you back status label on the profile page andshows a detailed friendship status breakdown on click | | | Hide group creation button on sharesheet | | | | Hide navigation buttons | Hides navigation bar buttons, such as the Reels and Create button. | | | Hide notes tray | Hides notes tray in DM section | | | Hide reshare button | Hides the reshare button from both posts and reels. | | | Hide stories tray | Hides stories tray from main feed. | | | Hide suggested content | Hides suggested stories, reels, threads (Suggested posts will still be shown). | | | Improve image viewing | Fetches max resolution images from server. | | | Limit feed to following profiles | Filters the home feed to display only content from profiles you follow. | | | Make ephemeral media permanent | Changes unexpired view once, view twice media to permanent view. | | | More options on post | Adds an overflow menu button to get more options on post/reels, like copy description, copy username etc | | | [More options on profile](#more-options-on

Extension points exported contracts — how you extend this code

VideoVersionIntf (Interface)
(no doc) [7 implementers]
extensions/instagram/stub/src/main/java/com/instagram/model/mediasize/VideoVersionIntf.java
Translate (Interface)
(no doc) [6 implementers]
extensions/twitter/src/main/java/app/morphe/extension/twitter/patches/nativeFeatures/translator/providers/Translate.java
MediaInterface (Interface)
(no doc) [4 implementers]
extensions/instagram/src/main/java/app/morphe/extension/instagram/entity/MediaInterface.java
OnIconSelectListener (Interface)
(no doc)
extensions/twitter/src/main/java/app/morphe/extension/twitter/patches/customise/appIcon/IconListAdapter.java
AudioMediaInterface (Interface)
(no doc) [4 implementers]
extensions/instagram/src/main/java/app/morphe/extension/instagram/entity/AudioMediaInterface.java
XUser (Interface)
(no doc)
extensions/twitter/stub/src/main/java/com/x/models/XUser.java
GifMediaInterface (Interface)
(no doc) [2 implementers]
extensions/instagram/src/main/java/app/morphe/extension/instagram/entity/GifMediaInterface.java
UserResult (Interface)
(no doc)
extensions/twitter/stub/src/main/java/com/x/models/UserResult.java

Core symbols most depended-on inside this repo

str
called by 647
extensions/instagram/src/main/java/app/morphe/extension/instagram/utils/IgStr.java
addPreference
called by 118
extensions/twitter/src/main/java/app/morphe/extension/twitter/settings/ScreenBuilder.java
getContext
called by 95
extensions/shared/library/src/main/java/app/morphe/extension/crimera/PikoUtils.java
icon
called by 86
extensions/twitter/src/main/java/app/morphe/extension/twitter/patches/customise/appIcon/RowItem.java
addPreference
called by 83
extensions/instagram/src/main/java/app/morphe/extension/instagram/settings/preference/ScreenBuilder.java
enableSettings
called by 73
patches/src/main/kotlin/app/crimera/patches/twitter/utils/Utils.kt
logger
called by 63
extensions/shared/library/src/main/java/app/morphe/extension/crimera/PikoUtils.java
toString
called by 60
extensions/twitter/src/main/java/app/morphe/extension/twitter/entity/Video.java

Shape

Method 1,204
Class 493
Function 37
Interface 11
Enum 4

Languages

Java80%
Kotlin20%

Modules by API surface

extensions/twitter/src/main/java/app/morphe/extension/twitter/settings/SettingsStatus.java88 symbols
extensions/twitter/src/main/java/app/morphe/extension/twitter/Pref.java82 symbols
extensions/instagram/src/main/java/app/morphe/extension/instagram/utils/Pref.java66 symbols
extensions/instagram/src/main/java/app/morphe/extension/instagram/settings/SettingsStatus.java56 symbols
extensions/instagram/src/main/java/app/morphe/extension/instagram/settings/preference/widgets/InstagramPreferenceStyle.java47 symbols
patches/src/main/kotlin/app/crimera/patches/instagram/entity/mediadata/Fingerprint.kt36 symbols
extensions/instagram/src/main/java/app/morphe/extension/instagram/entity/MediaData.java35 symbols
extensions/twitter/src/main/java/app/morphe/extension/twitter/patches/nativeFeatures/shareImage/ShareImageHandler.java28 symbols
patches/src/main/kotlin/app/crimera/utils/Utils.kt27 symbols
extensions/twitter/src/main/java/app/morphe/extension/twitter/Utils.java25 symbols
extensions/shared/library/src/main/java/app/morphe/extension/crimera/ObjectBrowser.java25 symbols
extensions/shared/library/src/main/java/app/morphe/extension/shared/settings/preference/PikoSharedPrefCategory.java22 symbols

For agents

$ claude mcp add piko \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact