Git Product home page Git Product logo

meme-generator's Introduction

Meme generator

CircleCI License: GPL v3 GitHub code size in bytes

一个使用纯 JavaScript 编写的表情包生成器。

部分模板来自 sorry,CSS 框架采用了 bulma

你可以自己构建,也可以直接使用我提供的服务,关于原理可以参见我这篇博文,以下是构建步骤。

使用

请先确认 Node.jsYarn 已安装。

下载

clone 本仓库:

git clone [email protected]:WincerChan/Meme-generator.git

安装依赖

进入 Meme-generator 目录:

yarn install
yarn global add gatsby

运行

可选择开发环境或生产环境:

# 开发环境
gatsby develop

# 生产环境
gatsby build

其中开发环境用于本地调试、测试,生产环境会将源码打包生成在 build 目录。

模板

静态图可以通过点击图片来自定上传。

目前动图有 6 个模板,分别是:王境泽、我说的、为所欲为、谁赞成谁反对、星际还是魔兽、打工是不可能打工的。

关于添加模板见 Wiki 的模板部分

部署

选择生产环境构建完毕后,生成的静态文件可借助 Nginx、Apache、Caddy 服务器等托管。

远程同步

可使用 rsync 命令与远程服务器同步:

# 需要先执行 yarn build 
rsync -az -vv --delete -e 'ssh -p 22' public/* DomainName:/Path

meme-generator's People

Contributors

dependabot[bot] avatar wincerchan avatar

Watchers

 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.