Open source API development ecosystem.
Helps you create requests faster, saving precious time on development.
| <meta name="theme-color" content="#ffffff"> | |
| <meta property="og:title" content="De-Coding The Passion Project"> | |
| <meta property="og:description" content="If you don't do something that's your passion, then you'll abandon it half way."> | |
| <meta property="og:image" content="https://cdn.launchaco.com/images/93cc4914-2ce0-401a-8433-bd7b6a1f7bb3.png"> | |
| <meta property="og:url" content="https://passionproject.launchaco.com"> | |
| <meta property="twitter:image" content="https://cdn.launchaco.com/images/93cc4914-2ce0-401a-8433-bd7b6a1f7bb3.png"> | |
| <meta name="twitter:card" content="summary_large_image"> | |
| <meta name="twitter:creator" content="@liyasthomas"> | |
| <meta property="og:site_name" content="De-Coding The Passion Project"> | |
| <meta name="twitter:image:alt" content="De-Coding The Passion Project"> |
Open source API development ecosystem.
Helps you create requests faster, saving precious time on development.
Full name:
E-mail:
GitHub username:
Prior experience:
| <template> | |
| <div ref="globe"></div> | |
| </template> | |
| <script> | |
| import ThreeGlobe from "three-globe" | |
| import * as THREE from "three" | |
| import TrackballControls from "three-trackballcontrols" | |
| import geojson from "~/assets/geojson/ne_110m_admin_0_countries.geojson" | |
| import texture from "~/assets/images/texture.png" |
| import fetch from "node-fetch"; | |
| const USERNAME = "hoppscotch"; | |
| const REPOSITORY = "hoppscotch"; | |
| exports.handler = async (event) => { | |
| switch (event.httpMethod) { | |
| case "GET": | |
| try { | |
| const commit_activity_response = await fetch( |
To use this script, simply replace the USERNAME, REPOSITORY, GITHUB_STARS_REPO and GITHUB_DOWNLOADS_REPO placeholders with the appropriate values for the GitHub repository you want to fetch the star and release download count for. Then, copy the complete script into a new Scriptable App script and run it. The star and release download count for the specified repository will be displayed in a Scriptable widget.
// Constants for widget configuration
const WIDGET_TITLE = "GitHub";
const USERNAME = "hoppscotch"
const REPOSITORY = "hoppscotch"
const GITHUB_STARS_REPO = "hoppscotch/hoppscotch";
const GITHUB_DOWNLOADS_REPO = "hoppscotch/releases";
const CACHED_DATA_HOURS = 0.5;