Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xcrap/text2video
A web-based tool that generates video animations from text input.
https://github.com/xcrap/text2video
canvas nextjs text video
Last synced: 1 day ago
JSON representation
A web-based tool that generates video animations from text input.
- Host: GitHub
- URL: https://github.com/xcrap/text2video
- Owner: xcrap
- Created: 2024-11-01T19:03:31.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-07T18:35:47.000Z (10 days ago)
- Last Synced: 2025-01-07T19:49:25.298Z (10 days ago)
- Topics: canvas, nextjs, text, video
- Language: TypeScript
- Homepage: https://text2video-six.vercel.app/
- Size: 305 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Text2Video - Text Animation Video Generator
A web-based tool that generates video animations from text input.
It allows you to create videos based on dynamic text animations with various styling options.
A working demo is available here: https://text2video-six.vercel.app/## Features
- **Real-time Preview**: Watch your text animations instantly as you edit them
- **Custom Text Styling**:
- Multiple font sizes (xs, sm, base, lg, xl)
- Custom colors (hex and named colors supported)
- Text formatting (bold, italic, underline)
- Adjustable duration per text segment
- **Video Controls**:
- Play/Pause functionality
- Seek bar with segment markers
- Time display showing current position and total duration
- Frame-by-frame navigation
- **Export Capabilities**: Generate video frames for further processing
- **Responsive Design**: Works across different screen sizes## Usage
### Text Format Syntax
Your text here --duration 3 --color #ffffff --textlg
Each line in the editor represents a text segment with the following format:
Options:
- --duration n: Duration in seconds (default: 3)
- --color value: Text color (hex or named color)
- --text[size]: Size modifier (xs, sm, lg, xl)Text Formatting:
- Use text for bold
- Use text for italic
- Use text for underline## Installation
1. Clone the repository:
2. Install dependencies:
```bash
npm install
# or
yarn install
# or
pnpm install
# or
bun install
```## Getting Started
After installation, start the development server:```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to open the app.
## Disclaimer
This is a work in progress, mostly was done with CoPilot + Claude 3.5 Sonnet as my Next Skills are non existing. If you want to improve on the performance and funcionalities, you're more than welcome.
## License
Copyright 2024 César CoutoPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.