1.5.4 • Published 3 years ago

@matrixage/picpic v1.5.4

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

picpic

An awesome image host service driven by github pages and github actions.

Doc

EN | 中文文档

Installation

Install via npm:

$ npm i @matrixage/picpic

Usage

To use picpic, by below steps:

  • mkdir a folder & cd it
  • npm init & press enter through
  • npm i @matrixage/picpic
  • "init": "picpic init" into package.json scripts
  • npm run init
  • drop you images to assets folder
  • git commit & git push to you github

then active your gh-pages.

if your acccout do not active github actions, you should active github actions and git push again to trigger delopy process.

if your github repo first branch is master,please change the branch in .github/workflows/ci.yml (main => master)

Features

  • click image to preview detail
  • preview images in folder mode
  • mobile is avaible

also, more you can explore:

  • list mode
  • search
  • navigator
  • minim file system

if you have more demands, and if you think your demands reasonal, you can talk to me.

Config

{
	// supported images type
	"types": ["svg", "png", "jpg", "jpeg", "gif", "webp"],

	// enable imagemin,compress : false, disable imagemin,compress
	// support compress jpg、png and gif
	"compress": {
		// image quality 0.1 - 1
		"quality": 0.8,
		// if true, webp,jpg、png will be compress by imagemin-webp
		"webp": false
	},

	// file folder load depth
	"depth": 12
}

Accessibility

Picpic supports the all modern browsers,and you can preview picpic images in chrome or firefox.

License

Picpic is licensed under the MIT license. (http://opensource.org/licenses/MIT)

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.5.0

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.9

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago