Skip to content

Commit

Permalink
feat(cathode-ray.tube): new site
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyangsh committed Sep 1, 2024
1 parent 2477720 commit 03af63f
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions resource/sites/www.cathode-ray.tube/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"name": "CRT",
"url": "https://www.cathode-ray.tube/",
"icon": "https://www.cathode-ray.tube/favicon.ico",
"host": "www.cathode-ray.tube",
"schema": "Luminance",
"tags": ["综合"],
"collaborator": "tomyangsh",
"levelRequirements": [
{
"level": 1,
"name": "Retro Rookie",
"interval": "4",
"uploaded": "100 GB",
"ratio": "1.0",
"privilege": "Can send CRT Invites"
},
{
"level": 2,
"name": "Classics Collector",
"interval": "8",
"uploaded": "1 TB",
"ratio": "1.25"
},
{
"level": 3,
"name": "Analog Ace",
"interval": "16",
"uploads": "5",
"uploaded": "5 TB",
"ratio": "1.5",
"posts": "5",
"privilege": "Access to Invite forums"
},
{
"level": 4,
"name": "Monochrome Master",
"interval": "32",
"uploads": "15",
"uploaded": "15 TB",
"posts": "15",
"ratio": "2.0"
},
{
"level": 5,
"name": "Vintage Virtuoso",
"interval": "64",
"uploads": "25",
"uploaded": "25 TB",
"posts": "25",
"ratio": "2.5"
}
],
"selectors": {
"userExtendInfo": {
"page": "/user.php?id=$user.id$",
"fields": {
"posts": {
"selector": ["ul.stats > li:contains('Forum Posts:')"],
"filters": [ "query.text().replace(/\\D/g,'')", "query ? parseInt(query) : 0"]
}
}
}
}
}

0 comments on commit 03af63f

Please sign in to comment.