浏览代码

add shutter.sh & vip.sh

master
valere 2 周前
父节点
当前提交
b8aa5c9dd5
共有 3 个文件被更改,包括 17 次插入37 次删除
  1. +11
    -35
      README.md
  2. +2
    -2
      back/vip.sh
  3. +4
    -0
      shutter.sh

+ 11
- 35
README.md 查看文件

@@ -5,52 +5,28 @@
virages
</h1>

## TODO
## ENTITE

COSIE
DSC OK
VIRAGES
CHOUK SKI
1. ZONE
2. SUJET
3. EFFET
4. ANIMATION

## DEADLINE
## OUTIL

28 decembre - SCIENCE version

- close / destroy OSD instances
- OK deploy
- ruler (todo from scratch)
- page /science

8 janvier - ART version

- crop
- blur
- scroll player
- slide player
MESURE
COMPARAISON
SOURCE
DESSIN
VIRAGE

## DESIGN / FEATURES :

- mobile first -> scroll first
- FEAT :: zoom
- FEAT :: blur / focus
- TOOL :: weaver's glass
- TOOL :: "duality" slider-mask
- TOOL :: themes
- TOOL :: specific metas (paint, COLORS (auto gen from photos ?), catégories or tags or both ? ), paper, paint, nuancier,
- TOOL :: class by 'sketchbook, a sketchbook as a sticker'logo ET/OU a name.'
- TOOL :: Layer; overlay several photos of the paint and add a cursor-switch, looking-glass, desktop light spot
- VIDEO :: joconde traveling
- TOOL :: influence desc
- TOOL :: pistes de lectures alphabet (numérique et lettres)

## BASE FILES

config.sh
docker-compose.yml
logo.svg

## EXTRA FILES

nginx.conf
post-install.sh
pre-install.sh

+ 2
- 2
back/vip.sh 查看文件

@@ -2,7 +2,8 @@
# alias vip='bash /home/root/vip.sh'
# vip https://cdn.esahubble.org/archives/images/publicationjpg/heic1501a.jpg

media_dir="/home/root/media/files/virages"
media_dir="./"
# media_dir="/home/root/media/files/virages"
fullname=$(basename -- "$1")
name=$(basename -- "$fullname")
name="${fullname%.*}"
@@ -12,4 +13,3 @@ cd $media_dir
wget $1

vips dzsave $fullname $name --layout=dz --tile-size=256 --overlap=0
# sed -i "s|\"@id\": \"https://example.com/iiif/${name}\"|\"@id\": \"${server_url}/${name}/\"|g" "${name}/info.json"

+ 4
- 0
shutter.sh 查看文件

@@ -0,0 +1,4 @@
#!/bin/bash
adb shell input keyevent KEYCODE_POWER
sleep $1 # in second
adb shell input keyevent KEYCODE_SLEEP

正在加载...
取消
保存