Skip to content

Latest commit

 

History

History
106 lines (73 loc) · 4.34 KB

README.en.md

File metadata and controls

106 lines (73 loc) · 4.34 KB

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