TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: We've built something to make our (and your) product easily extendable

3 点作者 cheerioty超过 2 年前

1 comment

cheerioty超过 2 年前
Hey HN,<p>one of our goals for our product was to make it easily extendable by ourselves and our customers. To achieve this, we came up with the idea of Scriptable. At the core, Scriptable allows product teams to accept and run code from anyone to extend their products in various forms without the usual risk of running untrusted code.<p>In our case, we allow users and ourselves to easily extend our product (Questmate.com) with user-defined UI components, as well as logic that can run at certain events (e.g., a form is being submitted).<p>To give you just a few concrete examples of what we and the users of our product were able to achieve using this &quot;magic escape hatch&quot;:<p>- Giving limited access to smart devices, from Philips Hue to your Tesla (<a href="https:&#x2F;&#x2F;twitter.com&#x2F;sreuter&#x2F;status&#x2F;1597410646198394881&#x2F;photo&#x2F;1" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;sreuter&#x2F;status&#x2F;1597410646198394881&#x2F;photo...</a>)<p>- Rendering form dropdowns, backed by data coming live from Airtable, Slack, Google Sheets, and other APIs. (See video @ <a href="https:&#x2F;&#x2F;www.questmate.com&#x2F;integrations&#x2F;airtable" rel="nofollow">https:&#x2F;&#x2F;www.questmate.com&#x2F;integrations&#x2F;airtable</a>) - Sending back into an Airtable, a Slack room and others and our destinations (example use case: <a href="https:&#x2F;&#x2F;www.questmate.com&#x2F;visitor-management" rel="nofollow">https:&#x2F;&#x2F;www.questmate.com&#x2F;visitor-management</a>)<p>Scriptable also allows you (the product owner&#x2F;developer) to define your own layers, which allows them to inject everything from custom data objects to actual API clients into the global context of the function. And to top it off, you can automagically pre-authenticate HTTP requests by automatically adding headers to outbound fetch requests without exposing any actual credentials&#x2F;access tokens to script authors.