Twitter
youtube
Discord
Contact us
Menu
Forums
New posts
Trending
Rules
Explore
Bioenergetic Wiki
Bioenergetic Life Search
Bioprovement Peat Search
Ray Peat Interviews by Danny Roddy
Master List: Ray Peat, PhD Interviews & Quotes by FPS
Traveling Resources
Google Flights
Wiki Voyage
DeepL Translator
Niche
Numbeo
Merch
Log in
Register
What's new
Search
Search
Search engine:
Threadloom Search
XenForo Search
Search titles only
By:
New posts
Trending
Menu
Log in
Register
Navigation
More options
Light/Dark Mode
Contact us
Close Menu
Forums
Information
World News
Show HN: Open-Sourcing InboxSDK (YC S11) – Build Apps in Gmail
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Hacker News" data-source="post: 71521" data-attributes="member: 365"><p>Hi HN! We’re Aleem, Chris, Borys, Meichen and Zach from Streak (YC S11) and today we’re open sourcing our InboxSDK <a href="https://www.inboxsdk.com" target="_blank">https://www.inboxsdk.com</a>, which makes it easy to build apps for Gmail.</p><p>Over 1.8B users spend their days in Gmail! Having your app built into the Gmail workflow is a better user experience and gives you great user retention. InboxSDK gives you a high-level, declarative API to insert your UI into Gmail without having to directly manipulate the DOM yourself. End users install a browser extension to use your app.</p><p>The SDK can add UI to multiple areas of Gmail. For example, adding a button is as simple as:</p><p></p><p>[CODE] composeView.addButton({</p><p> title: "My Nifty Button!",</p><p> iconUrl: 'https://example.com/foo.png',</p><p> onClick: function(event) {</p><p> event.composeView.insertTextIntoBodyAtCursor('Hello World!');</p><p> },</p><p> });</p><p>[/CODE]</p><p>InboxSDK enables you to add info to the sidebar on threads, add items in the left navigation tree, insert results into the search box, navigate to full page routes, add toolbar buttons to the compose window, add label indicators to thread list views and many more. You can see some examples in my comment posted below.</p><p>Hubspot, Dropbox, Giphy, Clickup, Loom, Todoist, Clearbit and our own Streak have all built apps using the InboxSDK. The InboxSDK is open source dual-licensed under the MIT and Apache 2.0 licenses for maximum flexibility.</p><p>Why use the InboxSDK over rolling it yourself? Several reasons: (1) it’s hard to do DOM manipulation in a performant way; (2) you need to handle all the different configurations of Gmail—there are a lot, and they change often: e.g. conversation view on/off, multiple inboxes, chat left/right, personal vs Workspace accounts; (3) You have to maintain compatibility with tons of other Gmail extensions so you don’t stomp over each other.</p><p>On a technical level, the InboxSDK handles all the DOM watching and manipulation, XHR interception, multiple extension coordination, and exposes a high level API to developers. We make use of page-parser-tree, another package we open sourced that helps detect elements on the page performantly. The trickiest bit we handle is intercepting and modifying network requests that Gmail makes in order to support several of the APIs we expose.</p><p>We’ve been building this SDK for years - it’s what powers Streak (<a href="http://www.streak.com" target="_blank">www.streak.com</a>), an 8 figure ARR SaaS business. We built the InboxSDK for ourselves because we wanted to separate our logic for wrangling Gmail from that of our app. Several years ago we let developers use a hosted version of our SDK. We didn’t want anyone else to go through the same pain to integrate deeply with Gmail. There were two unexpected benefits:</p><p>It vastly increased the number of end users (20M+) using apps built on our SDK. This gave us significant leverage with Google. They are super supportive of the SDK and give us early access to several builds to ensure the SDK doesn’t break when they make updates to Gmail.</p><p>We spent an ungodly amount of time maintaining compatibility with other Gmail extensions. Once the InboxSDK became a defacto standard, all the apps (currently >1000) that used it were instantly compatible (the InboxSDK operates under the model that there will be several extensions running at the same time and it elects a leader to route all modification through).</p><p>Why open source it now? First, several companies were nervous about us hosting the SDK. We mainly did this so that every extension was running the same version of the SDK, but with the recent Chrome manifest V3 changes, remote code execution is no longer supported. Not hosting the SDK removed the primary reason why the project needed to be closed source. We do need to figure out a new way of keeping all developers relatively up to date on the latest version of the SDK, <em>any ideas?</em></p><p>We’d love feedback! The repo is <a href="https://github.com/inboxSDK/inboxsdk" target="_blank">https://github.com/inboxSDK/inboxsdk</a>, and the docs are: <a href="https://inboxsdk.github.io/inboxsdk-docs" target="_blank">https://inboxsdk.github.io/inboxsdk-docs</a></p><p></p><hr /><p></p><p>Comments URL: <a href="https://news.ycombinator.com/item?id=33164922" target="_blank">https://news.ycombinator.com/item?id=33164922</a></p><p></p><p>Points: 30</p><p></p><p># Comments: 3</p><p></p><p><a href="https://news.ycombinator.com/item?id=33164922" target="_blank">Continue reading...</a></p></blockquote><p></p>
[QUOTE="Hacker News, post: 71521, member: 365"] Hi HN! We’re Aleem, Chris, Borys, Meichen and Zach from Streak (YC S11) and today we’re open sourcing our InboxSDK [URL]https://www.inboxsdk.com[/URL], which makes it easy to build apps for Gmail. Over 1.8B users spend their days in Gmail! Having your app built into the Gmail workflow is a better user experience and gives you great user retention. InboxSDK gives you a high-level, declarative API to insert your UI into Gmail without having to directly manipulate the DOM yourself. End users install a browser extension to use your app. The SDK can add UI to multiple areas of Gmail. For example, adding a button is as simple as: [CODE] composeView.addButton({ title: "My Nifty Button!", iconUrl: 'https://example.com/foo.png', onClick: function(event) { event.composeView.insertTextIntoBodyAtCursor('Hello World!'); }, }); [/CODE] InboxSDK enables you to add info to the sidebar on threads, add items in the left navigation tree, insert results into the search box, navigate to full page routes, add toolbar buttons to the compose window, add label indicators to thread list views and many more. You can see some examples in my comment posted below. Hubspot, Dropbox, Giphy, Clickup, Loom, Todoist, Clearbit and our own Streak have all built apps using the InboxSDK. The InboxSDK is open source dual-licensed under the MIT and Apache 2.0 licenses for maximum flexibility. Why use the InboxSDK over rolling it yourself? Several reasons: (1) it’s hard to do DOM manipulation in a performant way; (2) you need to handle all the different configurations of Gmail—there are a lot, and they change often: e.g. conversation view on/off, multiple inboxes, chat left/right, personal vs Workspace accounts; (3) You have to maintain compatibility with tons of other Gmail extensions so you don’t stomp over each other. On a technical level, the InboxSDK handles all the DOM watching and manipulation, XHR interception, multiple extension coordination, and exposes a high level API to developers. We make use of page-parser-tree, another package we open sourced that helps detect elements on the page performantly. The trickiest bit we handle is intercepting and modifying network requests that Gmail makes in order to support several of the APIs we expose. We’ve been building this SDK for years - it’s what powers Streak ([URL="http://www.streak.com"]www.streak.com[/URL]), an 8 figure ARR SaaS business. We built the InboxSDK for ourselves because we wanted to separate our logic for wrangling Gmail from that of our app. Several years ago we let developers use a hosted version of our SDK. We didn’t want anyone else to go through the same pain to integrate deeply with Gmail. There were two unexpected benefits: It vastly increased the number of end users (20M+) using apps built on our SDK. This gave us significant leverage with Google. They are super supportive of the SDK and give us early access to several builds to ensure the SDK doesn’t break when they make updates to Gmail. We spent an ungodly amount of time maintaining compatibility with other Gmail extensions. Once the InboxSDK became a defacto standard, all the apps (currently >1000) that used it were instantly compatible (the InboxSDK operates under the model that there will be several extensions running at the same time and it elects a leader to route all modification through). Why open source it now? First, several companies were nervous about us hosting the SDK. We mainly did this so that every extension was running the same version of the SDK, but with the recent Chrome manifest V3 changes, remote code execution is no longer supported. Not hosting the SDK removed the primary reason why the project needed to be closed source. We do need to figure out a new way of keeping all developers relatively up to date on the latest version of the SDK, [I]any ideas?[/I] We’d love feedback! The repo is [URL]https://github.com/inboxSDK/inboxsdk[/URL], and the docs are: [URL]https://inboxsdk.github.io/inboxsdk-docs[/URL] [HR][/HR] Comments URL: [URL]https://news.ycombinator.com/item?id=33164922[/URL] Points: 30 # Comments: 3 [url="https://news.ycombinator.com/item?id=33164922"]Continue reading...[/url] [/QUOTE]
Loading…
Insert quotes…
Verification
Post reply
Forums
Information
World News
Show HN: Open-Sourcing InboxSDK (YC S11) – Build Apps in Gmail
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top