(use-package 0x0 :straight t) ; <https://git.sr.ht/~willvaughn/emacs-0x0> I highly recommend you fetch this plugin via straight.el, Elpaca, or your best package manager
(setq 0x0-servers
- '((0x0 :scheme "https" :host "0x0.st" :default-dir "~/Desktop" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30
+ '((0x0 :scheme "https" :host "0x0.st" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30
:max-age 365 :max-size 536870912)
- (x0 :scheme "https" :host "x0.at" :default-dir "~/Desktop" :curl-args-fun 0x0--make-0x0-curl-args :min-age 3
+ (x0 :scheme "https" :host "x0.at" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 3
:max-age 100 :max-size 536870912)
- (chud :scheme "https" :host "up.chud.cyou" :default-dir "~/Desktop" :curl-args-fun 0x0--make-0x0-curl-args :min-age
+ (kallist :scheme "https" :host "lainsafe.kalli.st" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age
+ 23 :max-age 23 :max-size 104857600) ; Threshold is probably lower than 100MiB, haven't checked. Swap lainsafe for i for a shorter URL.
+ ; does not work with shorten-uri
+ (chud :scheme "https" :host "up.chud.cyou" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age
30 :max-age 30 :max-size 104857600)
- (kallist :scheme "https" :host "lainsafe.kalli.st" :default-dir "~/Desktop" :curl-args-fun 0x0--make-0x0-curl-args :min-age
- 23 :max-age 23 :max-size 104857600) ; Threshold is probably lower than 100MiB, haven't checked. Swap lainsafe for i for a shorter URL.
; these give temp redirect and do not work for me
- (ttm :scheme "https" :host "ttm.sh" :default-dir "~/Desktop" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30
+ (ttm :scheme "https" :host "ttm.sh" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30
:max-age 365 :max-size 268435456)
- (envs :scheme "https" :host "envs.sh" :default-dir "~/Desktop" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30
+ (envs :scheme "https" :host "envs.sh" :default-dir "~/" :curl-args-fun 0x0--make-0x0-curl-args :min-age 30
:max-age 365 :max-size 536870912)
)
0x0-default-server 'chud)