Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Use photon CDN to anti hotlink-protection #2769

Closed
SukkaW opened this issue Aug 4, 2019 · 4 comments
Closed

[Feature Request] Use photon CDN to anti hotlink-protection #2769

SukkaW opened this issue Aug 4, 2019 · 4 comments
Labels
high priority RSS enhancement New feature or request to existing RSS

Comments

@SukkaW
Copy link
Collaborator

SukkaW commented Aug 4, 2019

What feature is it?

Using Photon Image CDN to anti hotlink-protection.

What problem does this feature solve?

RT.

Additional description

Photon CDN is part of a WordPress Plugin Jetpack by WordPress, but currently it is available for all the domain even without WordPress installed.

Usage:

https://i0.wp.com/docs.rsshub.app/logo.png
https://i1.wp.com/blog.skk.moe/img/suka-favicon.png
https://i2.wp.com/rixcloud.com/static/img/hulu-comment.8038550.png
https://i3.wp.com/i.loli.net/2019/04/23/5cbeb7e41414c.png
@DIYgod DIYgod added RSS enhancement New feature or request to existing RSS high priority labels Aug 5, 2019
@ghost
Copy link

ghost commented Aug 12, 2019

也可以考虑 DuckDuckGo 啦: https://proxy.duckduckgo.com/iu/?u=https://docs.rsshub.app/logo.png

@SukkaW
Copy link
Collaborator Author

SukkaW commented Aug 12, 2019

@aka-rin https://images.weserv.nl is definitely a better option since proxy.duckduckgo.com is GFWed. But i0.wp.com i1.wp.com i2.wp.com i3.wp.com is shorter and faster.

@NeverBehave
Copy link
Collaborator

NeverBehave commented Apr 28, 2020

应该可以关闭了,demo站不应该设置这个
个人站点有需要可以自行参考设置
cde5d9a

@DIYgod DIYgod closed this as completed Apr 28, 2020
@TonyRL TonyRL mentioned this issue Feb 1, 2022
@xuxanwan
Copy link

xuxanwan commented Mar 19, 2022

docker-compose作为environment设置时,由于${xxxx}默认会被docker-compse解析,需要配置两个$$,具体如下:

    environment:
        HOTLINK_TEMPLATE: 'https://images.weserv.nl/url=$${href}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority RSS enhancement New feature or request to existing RSS
Projects
None yet
Development

No branches or pull requests

4 participants