Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env node
// @ts-check
'use strict';
// Execute with working directory @ root of CommunityScrapers
// Dependency: https://npmjs.com/package/yaml
const fs = require('fs');
const path = require('path');
/**
* A stash scraper config
*/
export interface StashScraper {
/**
* The name of the scraper.
*/
name: string;
/**
* An array of one or more configurations for scraping scene info by URL(s).
@peolic
peolic / custom.css
Last active March 29, 2021 09:43
My Stash custom CSS
/* Larger scrape results dialog */
.scrape-dialog {
max-width: 90%;
}
.scrape-dialog .modal-body .row > .form-label.col-form-label.col-lg-3 {
flex: 0 0 10%;
}
.scrape-dialog .modal-body .row:first-child > .col-lg-9.offset-lg-3 {
margin-left: 10%;
flex: 0 0 90%;
# coding: utf-8
"""Manually submit fingerprints to StashDB.org"""
import argparse
import hashlib
import json
import math
import os
import struct
import subprocess
# coding: utf-8
import hashlib
import re
import sys
import traceback
from datetime import datetime, timedelta, timezone
from pathlib import Path
from typing import cast, Optional
import requests
@peolic
peolic / .0.install.md
Last active July 7, 2025 21:21
IAFD helper userscript
@peolic
peolic / [MIGRATED] StashDB Backlog Userscript.md
Last active March 23, 2025 21:32
[MIGRATED] StashDB Backlog Userscript
@peolic
peolic / .indexxx-userscript.md
Last active September 30, 2025 16:03
indexxx helper userscript

Indexxx Helper Userscript

This userscript adds useful tools to indexxx.com

screenshot

Installation requires a browser extension such as Tampermonkey or Greasemonkey.

@peolic
peolic / .stashdb-titles-userscript.md
Last active July 27, 2023 16:49
Add page titles to StashDB

StashDB Titles Userscript

This userscript adds titles to StashDB pages.

screenshot

Installation requires a browser extension such as Tampermonkey or Greasemonkey.

@peolic
peolic / .stashdb-images-userscript.md
Last active January 7, 2025 14:52
Add image resolutions to StashDB

StashDB Images Userscript

This userscript adds image resolutions next to every performer image on StashDB.

screenshot

Installation requires a browser extension such as Tampermonkey or Greasemonkey.