项目
在 GitHub 查看
radiantly/you-cant-download-this-image
关于
Downloading images from the web is as easy as right clicking them and selecting "Save image as..", right? Well, not anymore xD
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文You can't download this image
Or can you? Visit https://youcantdownloadthisimage.com/ to give it a go!
Running your own server
If you'd just like to test the code that keeps the connection open, run the following
# Build and start serving lisa.jpg on http://localhost:3000/
make
./serve
Full setup
The following assumes that you have caddy installed with systemd.
cd /opt # Navigate to /opt
git clone https://github.com/radiantly/you-cant-download-this-image # Clone repository
chown -R :caddy you-cant-download-this-image/ # Set dir group to caddy
cd you-cant-download-this-image && make # Build
Start and enable the systemd unit file to keep it running:
ln -s /opt/you-cant-download-this-image/lisa.service /etc/systemd/system/lisa.service
systemctl daemon-reload # Reload service files on disk
systemctl start lisa # Start
systemctl enable lisa # Autostart on boot
Configure caddy:
mv /etc/caddy/Caddyfile /etc/caddy/Caddyfile.bak # backup existing Caddyfile
ln -s /opt/you-cant-download-this-image/Caddyfile /etc/caddy/Caddyfile
systemctl restart caddy
License
MIT
探索相关项目
加载中…