Created
June 24, 2024 22:21
-
-
Save leovido/62c6b188e06f1e90185969410109e608 to your computer and use it in GitHub Desktop.
masks-widget-v1.0.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Visit https://iamng.wtf/widgets/fc-degen/points for installation instructions | |
// 1. Install Scriptable from the App Store | |
// 2. Create a new script once downloaded clicking the plus button (clicking on the Untitled title will allow you to name the script; I suggest naming it Ham widget) | |
// 3. Copy the following code: | |
const scriptURL = 'https://masks-widget.leovido.xyz/api/widget-script?fid=' + encodeURIComponent(args.widgetParameter || 'yourFID'); | |
const script = await new Request(scriptURL).loadString(); | |
eval(script); | |
// 4. Replace 'yourFID' with your Farcaster/Warpcast FID (you can find this in your own profile, clicking on the about button) | |
// 5. Click Run | |
// 6. To fully show the widget on your home screen, long press anywhere and find Scriptable. | |
// 7. Select the smallest widget size | |
// 8. Select "Edit widget" | |
// 9. Select the newly created script (Ham widget) | |
// 10. Enjoy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment