Penman is a handwriting generator app that brings a personalized, authentic touch to digital content. It allows users to experiment with handwriting effects, create personalized cards from templates, and export their creations in various formats. Uses a custom Server-Sent Events (SSE) implementation. The SSE stream allows real-time handwriting generation by sending incremental updates to the frontend. This enables a fluid user experience as the handwriting is rendered.
The Playground lets users experiment with handwriting effects and customize their digital content.
- Stream: Add handwriting effects dynamically using custom SSE.
- Refresh: Pause and refresh the handwriting effect.
- Export: Save your creations in multiple formats:
- PNG
- Transparent PNG
- SVG
- Customization: Adjust various attributes for a personalized look.
- Text overlays for social media.
- Creating digital signatures.
The Cards section provides tools for creating personalized cards from pre-designed templates.
- Template Library: Access pre-built templates for notes and cards.
- Custom Handwriting: Customize handwriting with available options.
- Custom Attributes: Customize color, width and background.
- Creating thank-you notes and cards.
- Designing personalized content for special occasions.
- Docker installed on your machine.
- Docker Compose installed (often bundled with Docker Desktop).
-
Clone the Repository:
git clone https://github.com/parthsolanke/Penman.git cd Penman
-
Set Up Environment Files: Ensure
.env
files are present in the./backend
and./frontend
directories. Populate them with the necessary variables. -
Build and Run Containers:
docker-compose up --build
-
Access the Application:
- Frontend: Open your browser and navigate to
http://localhost:3000
. - Backend: The backend API will be available at
http://localhost:8000
.
- Frontend: Open your browser and navigate to
-
Stop the Application: To stop the application, press
Ctrl+C
in the terminal where the app is running or use:docker-compose down
Detailed documentation for the Penman API is available here.
MIT License ยฉ 2024 Penman