# pastebinit config for ShareNotes — https://sharenotes.dev/for-developers/ # # Install: mkdir -p ~/.pastebin.d && curl -fsSo ~/.pastebin.d/sharenotes.dev.conf https://sharenotes.dev/pastebinit/sharenotes.dev.conf # Use: dmesg | pastebinit -b sharenotes.dev # Options: -t "a title" -e 1h | 24h | 7d | 30d (-e needs pastebinit 1.7 or newer; older versions use the 24h default) # # Works with pastebinit 1.5.1 (Ubuntu 20.04, 22.04), 1.6.2 (24.04) and 1.7 / 1.8 (25.04 and newer). # No API key; 20 notes per day per IP. [pastebin] basename = sharenotes.dev https = True post_page = api/v1/notes post_format = json paste_regexp = "slug"\s*:\s*"([^"]+)" # pastebinit 1.5 reads the site from here, and page/post_format/regexp from [format]. regexp = https://sharenotes.dev [format] content = content title = title expiry = expiresIn # Used by pastebinit 1.5 only. Newer versions send them as extra fields, which the API ignores. page = page post_format = post_format regexp = regexp [defaults] expiry = 24h page = api/v1/notes post_format = json regexp = "slug"\s*:\s*"([^"]+)"