Self-hosted, super simple photo stream

栏目: IT技术 · 发布时间: 4年前

内容简介:Photo stream is a simpler home for your photos byWe like to take photos and share them. Problem is it's hard to really own your photos and how they're represented across social media these days, so we set out to make a place for them. You host it yourself,

Self-hosted, super simple photo stream

Photo Stream

Photo stream is a simpler home for your photos by @maxvoltar and. Easy to use, self hosted, no tracking, just photos.

Features

  • Lazy loading
  • Only load larger resolutions when needed (to save on bandwidth)
  • Photo tints
  • Keyboard shortcuts
  • Unique URL's for photos
  • RSS feed (Which you can plug into IFTTT and set up auto-posting to most social networks, like I've done here . Make sure you select "Post a tweet with image" when setting it up to embed the photo.)
  • Drag, drop, commit workflow ( learn more about how to add photos to your stream )
  • Optional: Links to your social networks

Why?

We like to take photos and share them. Problem is it's hard to really own your photos and how they're represented across social media these days, so we set out to make a place for them. You host it yourself, wherever you want (Netlify, Github Pages...), you're in control.

How to install

The easy way

  1. Fork this repo
  2. Clear the photos/originals directory
  3. Add your own photos
  4. Deploy your forked copy to Netlify (free by default, you can add your own domain and analytics for a reasonable price)
  5. In your build & deploy settings, set "Build command" to jekyll build and "Publish directory" to _site/ .
  6. Enjoy your very own photo stream!

The slightly-less-easy-but-still-totally-doable way

You'll need a working version of Ruby.

Add instructions about installing rbenv

bundle install

You'll also need some additional dependencies:

# Make sure xcode CLT is installed first:
xcode-select --install

# This takes a while. Plug your laptop in and go grab a coffee, a book, or just
# like, take a sec away from the computer and breathe for a bit.
brew install glib vips

How to use

Put photos in the photos/originals directory.

bundle exec jekyll serve

Credits

Examples


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

科技之巅2

科技之巅2

麻省理工科技评论 / 人民邮电出版社 / 2017-6-1 / CNY 88.00

《麻省理工科技评论》从2001年开始,每年都会公布“10大全球突破性技术”,即TR10(Technology Review 10),并预测其大规模商业化的潜力,以及对人类生活和社会的重大影响。 这些技术代表了当前世界科技的发展前沿和未来发展方向,集中反映了近年来世界科技发展的新特点和新趋势,将引领面向未来的研究方向。其中许多技术已经走向市场,主导着产业技术的发展,极大地推动了经济社会发展和科技创新......一起来看看 《科技之巅2》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具