{"id":15040876,"url":"https://github.com/i-vishi/prefixer","last_synced_at":"2026-01-19T07:33:06.637Z","repository":{"id":233110062,"uuid":"782679815","full_name":"i-vishi/Prefixer","owner":"i-vishi","description":"Prefixer: Simplify Shared Preferences editing. Inspect and modify Android app preferences effortlessly.","archived":false,"fork":false,"pushed_at":"2024-04-13T22:02:48.000Z","size":827,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T00:00:52.210Z","etag":null,"topics":["android","android-development","android-library","android-sdk","jetpack-compose","kotlin","maven-central","shared-preferences"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i-vishi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-05T19:43:41.000Z","updated_at":"2024-04-14T00:00:56.364Z","dependencies_parsed_at":"2024-04-19T06:32:39.199Z","dependency_job_id":null,"html_url":"https://github.com/i-vishi/Prefixer","commit_stats":null,"previous_names":["i-vishi/prefixer"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-vishi%2FPrefixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-vishi%2FPrefixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-vishi%2FPrefixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-vishi%2FPrefixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i-vishi","download_url":"https://codeload.github.com/i-vishi/Prefixer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478285,"owners_count":20945264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-development","android-library","android-sdk","jetpack-compose","kotlin","maven-central","shared-preferences"],"created_at":"2024-09-24T20:45:13.332Z","updated_at":"2026-01-19T07:33:06.630Z","avatar_url":"https://github.com/i-vishi.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prefixer\n\nPrefixer is an intuitive Android library designed for developers to effortlessly visualize and modify SharedPreferences. It simplifies preference management and enhances debugging and development efficiency by providing accessible SharedPreferences manipulation directly from your app's UI.\n\n\n## Snapshots\n\n|          All Preferences Activity           |      Edit String/Number Preferences      |       Edit Boolean Preferences       |\n|:-------------------------------------------:|:----------------------------------------:|:------------------------------------:|\n| ![](snapshots/all_preferences_activity.png) | ![](snapshots/edit_pref_bottomsheet.png) | ![](snapshots/edit_boolean_pref.png) |\n\n\n## Features\n\n- **Easy Initialization**: Quick setup with just one line of code.\n- **User-Friendly UI**: Launches a new activity displaying all SharedPreferences in a clean and interactive interface.\n- **Edit Preferences**: Allows editing of SharedPreferences values directly from the UI with a simple ***long-press***.\n- **Seamless Integration**: Easily integrates into existing Android projects without hassle.\n\n## Getting Started\n\n### Installation\n\nTo add Prefixer to your project, follow these steps:\n\n1. Ensure you have `mavenCentral()` in your project's `build.gradle` file:\n\n    ```gradle\n    allprojects {\n        repositories {\n            ...\n            mavenCentral()\n        }\n    }\n    ```\n2. Add Prefixer dependency to your module's build.gradle file:\n\n    ```gradle\n    dependencies {\n       implementation 'dev.vishalgaur:prefixer:1.2.0'\n    }\n    ```\n\n### Quick Start\n\nTo utilize Prefixer in your application, adhere to these steps:\n\n1. Initialize Prefixer in your Activity class:\n   ```kotlin\n   class MyActivity : ComponentActivity() {\n      override fun onCreate() {\n         super.onCreate()\n         val instance = Prefixer.initialize(this, \"pref_file_name\") // Replace \"pref_file_name\" with your actual preferences file name.\n      }\n   }\n   \n   ```\n\n2. Retrieve the launch intent for viewing and editing the SharedPreferences, then start the activity:\n   ```kotlin\n   val launchIntent = instance.getLaunchIntent(this)\n   startActivity(launchIntent)\n   ```\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-vishi%2Fprefixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi-vishi%2Fprefixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-vishi%2Fprefixer/lists"}