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


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

查看所有标签

猜你喜欢:

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

拆掉互联网那堵墙

拆掉互联网那堵墙

庄良基 / 经济日报出版社 / 2014-6 / 25.80

都在说道互联网、说道电子商务、说道移动APP、说道微信、说道互联网金融......我们该如何认识互联网?中小微企业该如何借力互联网?互联网很神秘吗?很高深莫测吗? 其实互联网并没有什么神秘的,也没有什么高深莫测的!互联网无非是人类发明的工具而已,既然是工具,我们就一定可以驾驭和使用它。既然可以双重使用,就理当让所有有人都容易掌握并轻松驾驭。 互联网离我们很远吗?互联网界的成功故事都是那......一起来看看 《拆掉互联网那堵墙》 这本书的介绍吧!

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

在线压缩/解压 JS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

MD5 加密
MD5 加密

MD5 加密工具