Besides my main Muse account, I have a sub account. It is the one I throw long research and document-making jobs at, like a subcontractor.

Switching between the two was quietly annoying. On my phone, the official app is tied to the main account, so when I want the sub account I open the web version in Chrome. Find the tab, sign in again if the session has expired — every single time. The actual job is throwing work at the sub account, but I kept losing time before I even got there.

If it doesn’t exist, build it. So I built a dedicated Muse browser app: Muse Duo.

What I built

An Android app. It is not on Google Play; you install the APK file directly.

(Japanese version: Museの本垢とサブ垢をタブで切り替える専用ブラウザ「Muse Duo」を自作した)

  • It opens muse.ai immediately on launch
  • There are just two tabs at the top of the screen, “Main” and “Sub” (Main is for the main account, Sub for the sub account)
  • No address bar, no tab management, no history button

The old dedicated browsers for 2ch were “tools optimized for one site only”. The idea is the same. If the app only ever opens Muse, most browser features are unnecessary.

How the tab separation works

The main requirement was that the main and sub logins must never mix. If signing into one kicked out the other, the app would be pointless.

I did two things:

  • Run the Main tab and the Sub tab in separate Android processes
  • Give each tab its own WebView data directory (where cookies and login information live)

Process and storage are both separate, so the sessions are completely apart. I can open the Sub tab while signed in on Main, sign in with the sub account there, come back, and Main is still Main. Verified on a real device.

The Google sign-in hurdle

This was the one worry I had before building anything.

When you try to sign in with Google from an in-app browser (WebView), Google sometimes decides it is “not a secure browser” and blocks you. The error is called disallowed_useragent. Google looks at the WebView-specific User-Agent and stops the sign-in.

The two countermeasures I put in:

  • Set the User-Agent to a regular Chrome mobile string, removing the WebView markers
  • Enable third-party cookies (needed for the sign-in redirects)

Result: on my Pixel 8a, Google sign-in passed in both tabs and I got straight into Muse. I had a fallback plan in case it got blocked, but I never needed it.

About the build

The app itself is small. The APK is 21KB. It is just a shell around a WebView, so that is about what you would expect.

The build is not done the usual way either.

  • No Gradle. I assembled it with a manual chain: aapt2 → javac → d8 → zipalign → apksigner
  • The toolchain (Temurin JDK 21 and the Android SDK) was set up by hand inside my working environment
  • The Android SDK manager (sdkmanager) could not get through the proxy authentication, so I fetched the component zips directly from Google’s official repository and placed them by hand

It looks like a detour, but I like that I can see everything inside. When a black-box tool just says “build failed”, you learn nothing. With this chain, I can tell exactly which step stopped.

Release

The source and the APK are public on GitHub.

No idea if it helps anyone else, but there may be other people who want to switch between multiple Muse accounts the same way.

How to install

  1. Download the APK from GitHub Releases
  2. Open the APK on your phone. If it asks for permission to install unknown apps, allow it for the app you opened the file with
  3. Open the app and sign in once in the Main tab and once in the Sub tab

After that, switching is just tapping a tab.

How you use it

There is almost nothing to it. Sign in once in the Main tab and once in the Sub tab. From then on, every launch starts already signed in.

Switching is just tapping a tab. Using one account never signs you out of the other, and unless you sign out yourself, you never have to sign in again.

Notes

  • This is not an official app. It is an unofficial tool I made for myself. It has nothing to do with Muse (Meta).
  • Entering your Google password into an app of unknown origin is not something you should normally do. This app’s source is fully public, so check what is inside before deciding whether to use it. If you cannot check it, better not to use it.
  • The fact that sign-in works in a WebView today could change any day if Google or Muse change their rules. If that happens, it happens.
  • Android only, and the only device I have verified is the Pixel 8a. I don’t know how it behaves on other phones.

Glossary

  • WebView: a browser component you can embed inside an app, used to show web pages within the app’s screen.
  • User-Agent: the string a browser uses to introduce itself to a server. Setting it to Chrome’s is what kept Google from treating this app as a WebView.
  • Process: a unit of a running program inside an app. Giving each tab its own process keeps memory and state separate.
  • APK: the distribution file format for Android apps. You can also install one directly, without going through the Play Store.
  • Gradle: the tool normally used to build Android apps. I didn’t use it; I connected the parts by hand, one step at a time.