Skip to content

Instantly share code, notes, and snippets.

@hermeticvm
Created June 13, 2025 08:41
Show Gist options
  • Select an option

  • Save hermeticvm/fe6f14e46c6f012140ede3e2cb1083eb to your computer and use it in GitHub Desktop.

Select an option

Save hermeticvm/fe6f14e46c6f012140ede3e2cb1083eb to your computer and use it in GitHub Desktop.
initial prompt before LLM refinement

Android app linkshare

Help me build an android application.

Core functionality:

Receive links from various apps via android intent share sheets Modify shared links according to user-specified preferences

Examples:

  • Strip tracking identifiers from shared links (for example strip "?si=$trackingID" from Youtube links)
  • Transform Youtube links to invidious links (for example replace youtube.com with yewtu.be but with additional customisable invidious instances to save)
  • a x.com (or twitter.com) link can be transformed to nitter.net or other nitter instances

Offer a new share button for the transformed link For a prototype is is sufficient to use yewtu.be/nitter.net links, leaving customization for later

Using the app should work as follows:

  • user shares a link and selects linkshare app as target
  • url gets shared to app
  • app displays options of transforming link: ie. a youtube link can be stripped of tracking id or transformed into invidious link
  • a x.com (or twitter.com) link can be transformed to nitter.net or other nitter instances
  • transformed links can be shared via native Android share sheet

additional features: app stores the history of each shared url and transformations app features a settings panel to configure defaults (like nitter and invidious instances) app code should be modular to make it easy to extend with additional functionality app should follow material design 3 guidelines and best practices

  1. outline the project's scope
  2. summarize the project's goal
  3. suggest frameworks best suited for this rather simple helper app
  4. focus on just Android for now, ignore all other platforms
  5. for distribution, I will start with apks shared via Github releases so people can use Obtainium to get updates. No need for app stores yet.
  6. No need for any cloud sync functionality for now, but keep it in mind for future development.
  7. Regarding privacy: Based on the app's current functionality, it shouldn't need internet access.
  8. In terms of features and scope: Let's stick with just Youtube and Twitter links for now.
  9. Keep in mind I am not very experienced with Android development
  10. suggest how to implement UI and UX elements
  11. use ~/src/personal/linkshare as the project's root directory for everything that should be written to a file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment