94 Star 1.1K Fork 337

psoho / fast-poster

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.en.md 4.34 KB
一键复制 编辑 原始数据 按行查看 历史
thomas 提交于 2024-03-20 14:02 . # 2.19.0

fast-poster logo

GitHub Repo stars gitee Repo stars csharp csharp license version

Introduction

Fastposter is a rapid poster development tool that allows you to quickly create posters. Simply upload a background image and place components (text, image, QR code, avatar) in the desired positions to generate a poster. Click the Code button to directly generate SDK calling code in various languages, making development fast and easy.

It has served numerous e-commerce projects, with over 60,000 users across multiple projects. Tested in production environments over the years, it's proven to be stable and reliable. It is widely used in various e-commerce, distribution systems, e-commerce posters, e-commerce main images, and other poster generation and production scenarios.

If this project has been helpful to you, please give it a star.

Documentation

Features

  • Supports fast Docker deployment.
  • Supports production-level e-commerce environments.
  • Supports popular SDKs for quick development in Java, Python, PHP, Go, JavaScript, mini-program.
  • No need to write complex rendering code.
  • Supports multiple file formats: jpeg, png, webp, pdf, base64.
  • Convenient code generation.

Getting Started

Step 1: Start the Service

docker run -it --name fastposter -p 5000:5000 fastposter/fastposter

Step 2: Edit the Poster

image-20230726174142177

Step 3: Generate Code

image-20230726174208989

Request Example (parameters can be passed directly):

// 1. Create a poster client object
FastposterClient client = FastposterClient.builder()
        .endpoint("http://127.0.0.1:5000")      // Set the access endpoint
        .token("ApfrIzxCoK1DwNZOEJCwlrnv6QZ0PCdv")  // Set the token
        .build();

// 2. Prepare poster parameters
Map<String, Object> params = new HashMap<>();
params.put("name", "Test Text");

// 3. Generate and save the poster
client.buildPoster("80058c79d1e2e617").params(params).build().save("demo.png");

Use Cases

  • Poster generator
  • Automatic poster generation tool
  • Online poster design and generation
  • Online poster maker
  • Generate Moments (WeChat) posters
  • E-commerce poster editor
  • Certificate creation
  • Automatic certificate generation tool
  • QR code sharing poster images
  • Create posters using Python Pillow
  • E-commerce main image editor
  • Generate QR code sharing posters using Java
  • Create posters with Java Graphics2D
  • Generate WeChat mini-program share posters
  • Generate QR code posters using PHP
  • Custom business poster images
  • Generate HTML5 posters
  • Create posters using HTML5 Canvas
  • Generate posters using JSON data for batch production
  • Draw images using BufferedImage

Community

Author's WeChat: fastposter

Author's WeChat

Python
1
https://gitee.com/psoho/fast-poster.git
git@gitee.com:psoho/fast-poster.git
psoho
fast-poster
fast-poster
master

搜索帮助