All Projects → fakeYanss → Hexo Album

fakeYanss / Hexo Album

add album&photos with Hexo blog

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Hexo Album

google-photos-vue
Google Photos album viewer built with Vue.js
Stars: ✭ 17 (-80%)
Mutual labels:  photos, photography, album
Photobak
Back up your content from Google Photos - DEPRECATED: use Timeliner
Stars: ✭ 304 (+257.65%)
Mutual labels:  photos, album
QuickRawPicker
📷 QuickRawPicker is a free and open source program that lets you cull, pick or rate raw photos captured by your camera. It is also compatible with the XMP sidecar file used by Adobe Bridge/Lightroom/Darktable or PP3 sidecar file used by Rawtherapee.
Stars: ✭ 26 (-69.41%)
Mutual labels:  photos, photography
Imagestore
Open source google photos alternative!
Stars: ✭ 429 (+404.71%)
Mutual labels:  photos, album
picsort
Organize your photos by date in one click 👏
Stars: ✭ 22 (-74.12%)
Mutual labels:  photos, photography
hexo-theme-griddy
Hexo theme for artist & photographer showing their work that created with Bulma CSS Framework
Stars: ✭ 22 (-74.12%)
Mutual labels:  photography, hexo
Alassetslibrary Customphotoalbum
A nice ALAssetsLibrary category for saving images & videos into custom photo album.
Stars: ✭ 413 (+385.88%)
Mutual labels:  photos, album
Facebook-Album-Browser
jQuery plugin for browsing public albums of a Facebook account
Stars: ✭ 76 (-10.59%)
Mutual labels:  photos, album
Thumbsup
Generate static HTML photo / video galleries
Stars: ✭ 493 (+480%)
Mutual labels:  photos, photography
Filmulator Gui
Filmulator --- Simplified raw editing with the power of film
Stars: ✭ 522 (+514.12%)
Mutual labels:  photos, photography
Lpalbum
an albums that can preview, multiple-choice
Stars: ✭ 17 (-80%)
Mutual labels:  photos, album
moul
The minimalist publishing tool for photographers
Stars: ✭ 147 (+72.94%)
Mutual labels:  photos, photography
google-photos-upload
Upload a local image directory into an Album in Google Photos (works on mac/pc/linux). Coded in C# .NET Core 3.0
Stars: ✭ 26 (-69.41%)
Mutual labels:  photos, album
photo-dl
A photo album downloader
Stars: ✭ 44 (-48.24%)
Mutual labels:  photos, album
Papr
🌁 An Unsplash app for iOS
Stars: ✭ 1,025 (+1105.88%)
Mutual labels:  photos, photography
Zing Gallery
基于node.js的web相册,让摄影照片的展示更加简单 Web albums based on node.js, more simple to show photography photos
Stars: ✭ 401 (+371.76%)
Mutual labels:  photos, photography
go-unsplash
Go Client for the Unsplash API
Stars: ✭ 70 (-17.65%)
Mutual labels:  photos, photography
timeline
Timeline - A photo organizer
Stars: ✭ 39 (-54.12%)
Mutual labels:  photos, photography
Splash Cli
A simple, command line tool to download Unsplash wallpapers. It’s not intended to be anything particularly fancy — it just works.
Stars: ✭ 432 (+408.24%)
Mutual labels:  photos, photography
Elodie
An EXIF-based photo assistant, organizer, manager and workflow automation tool.
Stars: ✭ 840 (+888.24%)
Mutual labels:  photos, photography

Hexo博客添加相册

使用七牛云图床

使用七牛云做图床需要先安装python3.6环境,然后安装七牛SDK Python版pip install qiniu

  • 文件夹结构. album下的内容, 存放所有的图片. 外层photos中存放新增的图片,用于上传七牛云。上传完后会将移动到albums下,并生成json文件。
├─album
│  ├─min_photos
│  └─photos
├─photos
└─min_photos
  • 添加新图片后的提交命令. release.sh
#!/bin/bash
cd /Users/yanss/Documents/Blog/Blog_Album
#删除占位文件
rm -f -v /Blog_Album/photos/README.md
rm -f -v /Blog_Album/min_photos/README.md
#生成缩略图
python compress.py
#上传新图片
python upload-files-to-qiniu.py photos/
python upload-files-to-qiniu.py min_photos/ min_photos/
#移动新图片到album下
if [ "`ls photo/`" != "" ]; then
  mv photos/* album/photos/ 
fi
if [ "`ls min_photos/`" != "" ]; then
  mv min_photos/* album/min_photos/
fi

#生成json文件
python make-json.py
#压缩备份album文件夹
python zip.py
#上传压缩文件(可以不用每次都上传)
python upload-files-to-qiniu.py album.zip
#生成占位文件
echo "这是一个占位文件!" > photos/README.md
echo "这是一个占位文件!" > min_photos/README.md

#上传到远程git仓库
git add .
git commit -m "add photos"
git push origin master
  • 以下是两个独立的上传图片到七牛的功能

    • Feature: 拖拽单文件上传到七牛云并返回markdown格式外链, 脚本是upload-a-file-to-qiniu(md).py, 修改access_key, secret_key, bucket等参数后运行python upload-a-file-to-qiniu(md).py filename即可,filename为待上传file路径,window环境下可以将图片拖拽到drag-file-on-me.bat上直接运行.
    • Feature: 批量上传到七牛云,脚本是upload-files-to-qiniu.py, 用法python upload-files-to-qiniu.py a/ dir, 可以把本地dir路径下的文件(dir可以是文件夹)上传到对应bucket下,并且前缀是a/.
  • 若要上传视频,会比较麻烦,有以下步骤。

    1. 对视频片段截图,作为视频封面,图片名和视频名相同
    2. 将封面图片作为普通照片压缩、上传、移动到/album
    3. 将视频上传
    4. 在/album/photos/中删除封面图片,将视频文件移动到此目录下
    5. 运行make-json.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].