A desktop browser with x402 built in: when a page asks for payment, it pays in stablecoins and shows the content.

9 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-browser.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-browser.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-browser.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 toolbar: Back and Forward are greyed out when there's nowhere to go cc08c7a 1 week, 2 days ago History
x-cards.json · 1.3 KB · 20 lines
1{
2 "v": 1,
3 "id": "x-cards",
4 "name": "X as cards",
5 "sites": ["x.com", "twitter.com"],
6 "post": "article",
7 "fields": {
8 "link": [{ "sel": "a[href*=\"/status/\"]:has(> time)", "take": "href" }, { "sel": "a[href*=\"/status/\"]", "take": "href" }],
9 "author": [{ "sel": "[data-testid=\"User-Name\"] a", "take": "text" }, { "sel": "a > div[dir=\"auto\"]", "take": "text" }],
10 "handle": { "sel": "span", "take": "text", "match": "^@\\w{1,30}$" },
11 "avatar": [{ "sel": "[data-testid=\"Tweet-User-Avatar\"] img", "take": "src" }, { "sel": "[data-post-avatar] img", "take": "src" }],
12 "time": { "sel": "time", "take": "datetime" },
13 "timeText": { "sel": "a[href*=\"/status/\"]", "take": "text", "match": "^\\d+[smhd]$|^[A-Z][a-z]{2} \\d{1,2}" },
14 "text": [{ "sel": "[data-testid=\"tweetText\"]", "take": "text" }, { "sel": "div[dir=\"auto\"][lang]", "take": "text" }],
15 "images": [{ "sel": "img[src*=\"pbs.twimg.com/media/\"], img[src*=\"pbs.twimg.com/card_img/\"]", "take": "src", "all": true }, { "sel": "video[poster]", "take": "poster", "all": true }],
16 "stats": { "sel": "[role=\"group\"][aria-label]", "take": "aria-label" },
17 "context": { "sel": "[data-testid=\"socialContext\"]", "take": "text" },
18 "promoted": { "sel": "span", "take": "exists", "match": "^(Ad|Promoted)$" }
19 }
20}