GithubHelp home page GithubHelp logo

l0ng09 / picpic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matrixages/picpic

0.0 0.0 0.0 35.07 MB

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

Home Page: https://matrixage.github.io/picpic_example/

License: MIT License

JavaScript 32.17% HTML 23.84% Less 29.35% CSS 14.65%

picpic's Introduction

picpic logo

picpic

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

attitude_img version_img size_img style_img License

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)

picpic's People

Contributors

matrixage avatar mayandev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.