SinTan1729
- 4 Posts
- 7 Comments
SinTan1729@programming.devtoAsklemmy@lemmy.ml•Do you use userscripts or other automation options like autohotkey? Which ones do you find most useful? Could you recommend some good sources(including lemmy communities) that are on the topic?English
0·1 year agoI use a few of them. There’s one to bring back YouTube dislikes, one to translate Lemmy links to my home instance, and another (self written) one to automatically change the YouTube share button to copy which copies the link in s single click.
There are a few more, but these are the most useful ones to me, I guess. I use ViolentMonkey as my script manager.
deleted by creator
SinTan1729@programming.devOPto
Selfhosted@lemmy.world•GitHub - SinTan1729/chhoto-url: A simple, blazingly fast, selfhosted URL shortener with no unnecessary features; written in Rust.English
1·1 year agoIt was just a matter of setting the correct user. In most cases,
user: 1000:1000should fix it.
SinTan1729@programming.devOPto
Selfhosted@lemmy.world•GitHub - SinTan1729/chhoto-url: A simple, blazingly fast, selfhosted URL shortener with no unnecessary features; written in Rust.English
2·1 year agoUpon further testing, this does actually work. You may set both
read_only: true, andcap_drop: alland it will work as long as you have a named volume. I had it mount a database file from the host system for my test config, which is why I was getting the errors. I don’t know how to make that work though i.e. when the db is bind mounted from the host system. Setting the mount:rwdoesn’t seem to fix it.
SinTan1729@programming.devOPto
Selfhosted@lemmy.world•GitHub - SinTan1729/chhoto-url: A simple, blazingly fast, selfhosted URL shortener with no unnecessary features; written in Rust.English
2·1 year agoThat’s great to know. Btw, you don’t actually need to specify the url path for it to work. That’s just for convenience of copying the link from the UI. It’ll just work as long as the server is reachable at that address.
SinTan1729@programming.devOPto
Selfhosted@lemmy.world•GitHub - SinTan1729/chhoto-url: A simple, blazingly fast, selfhosted URL shortener with no unnecessary features; written in Rust.English
3·1 year agoThanks. I had never tested this before. Seems like it throws errors. Of course, adding and deleting links don’t work. But that’s to be expected. But also link resolution fails since it cannot update the hit count properly. If this is a legitimate use case for you, I might work on making it work.
SinTan1729@programming.devOPto
Selfhosted@lemmy.world•GitHub - SinTan1729/chhoto-url: A simple, blazingly fast, selfhosted URL shortener with no unnecessary features; written in Rust.English
9·1 year agoLike the other guy said, it’s not necessary. But docker makes it much easier to deploy. There are instructions to set it up without docker as well.





Here you go.