chevereto
what
To solve some problems
- some web only use markdown and can’t upload pictures,such as v2ex.com
- some pics you don’t want to give it to others for long time,such as your interesting story
- give your blog’s can speed when download bigger pics
- and so on
Picture Bed can offer you a excellent platform to share your pictures and protect them, however it has a problem that you need a server to run the service,even though you can use 七牛云,alioss,weibo for free.
why
Chevereto is aim what I find
- dockerhub has chevereto images
- Combined with ShareX (only for windows😢),chevereto can write markdown essay easily
- it has api ,you can make it stronger
- Chevereto Free v1.2.2 now
- Something others you can discover by yourself
how
Chevereto is a php project , I use docker to run it
1 | docker pull nmtan/chevereto:latest |
1 | //this is docker-compose.yml |
You maybe run into a stone wall when you first visit 127.0.0.1:8000
Before you can use
docker exec -it chevereto bash
into container /var/www/htmlno permission write phots to /home/xxx/images,you can use
chmod -R 777 /home/xxx/images
no permission update chevereto from 1.1.4 to1.2.2 ,
no update possible: /app/install/update/temp/ path
,that is no temp folder in /app/install/update/ under version 1.2.0,you can mkdir temp and then chmod -R 777 ./temp and then refresh the webpage ,the prics bed will update successfully
So , you can use ip address to visit your chevereto . However , we usually use domain name such as example.com to visit web, a https isn ecessary as well
- 1.Use aliyun to apply a free ssl license for a domain name such as pics.example.com
- 2.Download pem and keys to your server and put it in nginx conf folder
- 3.Use the conf as follows
1 | server { |
- And then you can visit
https://pics.example.com
- And then you can visit
That‘s my story that building pics bed ,and hope to help you.
2020-09-28 append
use picgo
,upload pictures in typora to chevereto
GitHub download picgo,mac use .dmp,and then install it
open
插件设置
,searchchevereto
and installchevereto 1.0.0
Open
图床设置>Chevereto Uploader
and put in params,Url is your upload service ip/domain
Key is chevereto api in
Dashboard>Settings>API>API v1 key
param is not in use now
1 | Url:https://example.com/api/1/upload |
- Click
确定
and设为默认图库
- make sure server is on
PicGo设置>设置Server>点击设置
,if it is on ,noting should be done
and then we modify config in typaro
- Open Typora and open ‘preferences>Images`
- Choose Upload images in when Insert and check
apply above rules to local images
andapply above rules to online images
in option, and I suggest you check both of them to approve all pics managed by chevereto - Choose
PicGo.app
in images Uploader and clickTest Uploader
to test your upload pictures automatically
for more information ,youcan visit
- PicGo and PicGo-Core
- Upload your pictures in personal album instead of visitors’ albulm
- Chevereto API