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
Model | Key Storage | Trust Level | Complexity | |
---|---|---|---|---|
Full Self-Custody (LDK/LND mobile) | Device | 🔒 Minimal trust | 🧠 Complex | |
Remote Node (LNC, Zeus) | External Node | 🟡 Medium | 😌 Easy | |
Hosted Node (Voltage) | API-auth + macaroon | 🟡 Medium-high | ⚡ Fastest |
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
Tool | What it Does | Notes | |
---|---|---|---|
ldk-node-rn | Run LDK Lightning node in RN | Full non-custodial wallet support | |
react-native-lightning | Wrap LND in React Native | Uses Neutrino for on-chain sync | |
@lightninglabs/lnc-rn | Secure pairing to remote LND | Super easy to use | |
tapd | Daemon for Taproot Assets | Backend only (for now) | |
voltage.cloud | Hosted LND + tapd | Dev-friendly with great docs |
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
Stack Element | Option A: Self-Custody (On-Device) | Option B: Remote (Trusted Node) | |
---|---|---|---|
Bitcoin Wallet | BDK (Bitcoin Dev Kit) | LND wallet remote signing | |
Lightning Integration | LDK or LND Mobile | Lightning Node Connect (LNC) Zeus | |
Taproot Assets Support | Backend tapd (React Native talks to it) | Backend tapd (hosted or self-run) | |
Node Infrastructure | Light-client (Neutrino / Esplora) | Voltage Greenlight your own VPS | |
Key Management | Device-held seed SecureStorage | Macaroons / remote node API auth | |
React Native SDKs | rn-ldk ldk-node-rn react-native-lightning | @lightninglabs/lnc-rn |
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
#!/bin/bash | |
echo "🔧 Starting Mac dev cleanup..." | |
# 1. Clear User & System Cache | |
echo "🧹 Clearing system and user caches..." | |
sudo rm -rf ~/Library/Caches/* /Library/Caches/* | |
# 2. Xcode Derived Data | |
echo "🧹 Removing Xcode Derived Data..." |
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
"scripts": { | |
"start": "expo start", | |
"lint": "eslint . --ext .js,.jsx,.ts,.tsx", | |
"android": "expo run:android", | |
"ios": "expo run:ios", | |
"android:dev": "expo run:android --device", | |
"ios:dev": "expo run:ios --device", | |
"web": "expo start --web", | |
"deploy": "npx expo export -p web && npx eas-cli@latest deploy", | |
"tunnel": "npx expo start --tunnel -c", |
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
from fastapi import FastAPI, HTTPException | |
from pydantic import BaseModel, Field | |
from typing import List, Optional, Dict, Any | |
from fast_hotels import HotelData, Guests, get_hotels | |
from fast_flights import FlightData, Passengers, get_flights | |
import logging | |
import re | |
import pandas as pd | |
# Helper functions for parsing price and stops |
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
from fastapi import FastAPI, UploadFile, File, HTTPException | |
from fastapi.middleware.cors import CORSMiddleware | |
from fastapi.responses import JSONResponse | |
from pydantic import BaseModel | |
from typing import Dict, Any, Optional, List | |
import subprocess | |
import re | |
import os | |
import json | |
import logging |
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
from fastapi import FastAPI, HTTPException | |
from fastapi.middleware.cors import CORSMiddleware | |
from pydantic import BaseModel | |
import subprocess | |
import re | |
import os | |
# Clean the output of the goose command | |
def clean_goose_output(output: str) -> str: |
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
from fastapi import FastAPI, HTTPException | |
from pydantic import BaseModel | |
import subprocess | |
app = FastAPI() | |
class GooseInput(BaseModel): | |
instructions: str | |
session_name: str = "api-session" |
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
import requests | |
import json | |
import os | |
import dotenv | |
dotenv.load_dotenv() | |
# Surge API endpoint | |
url = "https://api.surge.app/messages" |
NewerOlder