Menu

1 / 3

One Domain, 200+ Installable Apps: PWA id, scope and the Nested-App Trap

DEV Community: android·Webnaa·9 days ago
#aIShiiH9
#devtoandroid#devto#dev#tool#tools
Reading 0:00
15s threshold

We are a small Saudi team in Riyadh, and we run 200 free browser tools in Arabic and English. People don't use a tool library the way they use a website. They come back to one tool, every day: a VAT calculator, a word counter, a PDF merger.

So we made every tool installable as its own app , with its own icon and its own window. Add the website, the forum and the tools hub, and one domain now serves a little over 200 installable apps.

The manifest part took an afternoon. The interesting part was everything around it, especially one trap we only found after launch.

One manifest per page, per language

Every tool page links its own manifest:

<link rel= "manifest" href= "/pwa/m/t-word-counter-en.webmanifest" > <link rel= "apple-touch-icon" href= "/pwa/i/t-word-counter/apple-180.png" >

Enter fullscreen mode

Exit fullscreen mode

A Python build script writes all of them from the same list of tools that builds the pages, so a new tool gets its app without any manual work.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.