An open API service indexing awesome lists of open source software.

https://github.com/ruslanlap/emoji-styler


https://github.com/ruslanlap/emoji-styler

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# Emoji Styler โœจ

- ๐ŸŒ **Web demo**: Try it online at [emoji-styler.vercel.app](https://emoji-styler.vercel.app/)


Emoji Styler Demo


Emoji Styler Demo 2


Emoji Styler Demo 3

Transform boring text into fun emoji styles! Make your text stand out with kawaii, hacker, neon, cyberpunk, and minimal styles.

## Features

- ๐ŸŽจ **5 unique styles**: cute, hacker, neon, cyberpunk, minimal
- ๐Ÿ **Python API**: Use in your Python projects
- ๐Ÿ’ป **CLI tool**: Style text from command line
- ๐Ÿš€ **Lightweight**: Zero dependencies
- ๐ŸŒ **Web demo**: Try it online at [emoji-styler.vercel.app](https://emoji-styler-g3zyvdtk7-ruslantodo.vercel.app)

## Installation

```bash
pip install emoji-styler
```

## Quick Start

### Command Line

```bash
# Default cute style
emoji-styler "Hello world"
# โœจ ๐Ÿ’– H ๐Ÿ’ซ e ๐ŸŒธ l ๐Ÿ’• l ๐ŸŒŸ o ๐Ÿ’– w ๐Ÿ’ซ o ๐ŸŒธ r ๐Ÿ’• l ๐ŸŒŸ d โœจ

# Hacker style
emoji-styler "Hello world" --style hacker
# โšก H3ll0 w0rld โšก

# Cyberpunk style
emoji-styler "PowerToys Run" --style cyberpunk
# โšก โŸจPโŸฉโŸจOโŸฉโŸจWโŸฉโŸจEโŸฉโŸจRโŸฉโŸจTโŸฉโŸจOโŸฉโŸจYโŸฉโŸจSโŸฉโšกโŸจRโŸฉโŸจUโŸฉโŸจNโŸฉ โšก

# List all styles
emoji-styler --list-styles
```

### Python API

```python
from emoji_styler import style_text, get_available_styles

# Style some text
result = style_text("Hello", style="cute")
print(result)
# โœจ ๐Ÿ’– H ๐Ÿ’ซ e ๐ŸŒธ l ๐Ÿ’• l ๐ŸŒŸ o โœจ

# Get available styles
styles = get_available_styles()
print(styles)
# ['cute', 'hacker', 'neon', 'cyberpunk', 'minimal']

# Try different styles
for style in ['hacker', 'neon', 'minimal']:
print(f"{style}: {style_text('Hello', style)}")
```

## Available Styles

### Cute (default)

Kawaii aesthetic with hearts and sparkles

```
Input: Hello world
Output: โœจ ๐Ÿ’– H ๐Ÿ’ซ e ๐ŸŒธ l ๐Ÿ’• l ๐ŸŒŸ o ๐Ÿ’– w ๐Ÿ’ซ o ๐ŸŒธ r ๐Ÿ’• l ๐ŸŒŸ d โœจ
```

### Hacker

1337 speak with letter substitutions

```
Input: Hello world
Output: โšก H3ll0 w0rld โšก
```

### Neon

Rainbow glow vibes with uppercase

```
Input: Hello world
Output: ๐ŸŒˆ H E L L O ๐ŸŒŸ W O R L D ๐ŸŒˆ
```

### Cyberpunk

Futuristic brackets and lightning

```
Input: Hello world
Output: โšก โŸจHโŸฉโŸจEโŸฉโŸจLโŸฉโŸจLโŸฉโŸจOโŸฉโšกโŸจWโŸฉโŸจOโŸฉโŸจRโŸฉโŸจLโŸฉโŸจDโŸฉ โšก
```

### Minimal

Clean aesthetic with dots

```
Input: Hello world
Output: Hใƒปeใƒปlใƒปlใƒปo ใƒปoใƒปrใƒปlใƒปd
```

## Web Demo

Try it online: [emoji-styler.vercel.app](https://emoji-styler.vercel.app)

The web demo is built with Next.js and TypeScript, featuring:

- Interactive text styling
- Beautiful Catppuccin Macchiato theme
- Mobile-friendly responsive design
- Live examples and presets

See [web/README.md](web/README.md) for development details.

## Project Structure

```
emoji-styler/
โ”œโ”€โ”€ emoji_styler/ # Python package
โ”‚ โ”œโ”€โ”€ __init__.py # Package exports
โ”‚ โ”œโ”€โ”€ core.py # Main style_text() function
โ”‚ โ”œโ”€โ”€ styles.py # Style implementations
โ”‚ โ””โ”€โ”€ cli.py # Command-line interface
โ”œโ”€โ”€ tests/ # Python tests
โ”œโ”€โ”€ web/ # Next.js web demo
โ”‚ โ”œโ”€โ”€ app/ # Next.js pages
โ”‚ โ”œโ”€โ”€ components/ # React components
โ”‚ โ”œโ”€โ”€ lib/ # TypeScript styles (ported from Python)
โ”‚ โ””โ”€โ”€ README.md # Web demo docs
โ”œโ”€โ”€ .github/
โ”‚ โ””โ”€โ”€ workflows/ # CI/CD pipelines
โ”‚ โ”œโ”€โ”€ publish.yml # PyPI publishing
โ”‚ โ””โ”€โ”€ test.yml # Automated testing
โ”œโ”€โ”€ pyproject.toml # Python package config
โ”œโ”€โ”€ LICENSE # MIT license
โ””โ”€โ”€ README.md # This file
```

## Development

### Python Package

```bash
# Clone repository
git clone https://github.com/ruslanlap/emoji-styler.git
cd emoji-styler

# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate

# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest

# Run tests with coverage
pytest --cov=emoji_styler
```

### Web Demo

```bash
# Navigate to web directory
cd web

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build
```

See [web/README.md](web/README.md) for deployment instructions.

## Publishing

### To PyPI

Publishing is automated via GitHub Actions. To release a new version:

```bash
# 1. Update version in pyproject.toml
# 2. Commit and push
git add pyproject.toml
git commit -m "Bump version to 0.2.0"
git push

# 3. Create and push tag
git tag v0.2.0
git push origin v0.2.0

# 4. GitHub Actions will automatically:
# - Build package
# - Create GitHub release
# - Publish to PyPI
```

See [.github/RELEASE.md](.github/RELEASE.md) for detailed instructions.

### Web Demo to Vercel

```bash
cd web
vercel
# Follow prompts
```

Or connect your GitHub repo to Vercel dashboard for automatic deployments.

## Roadmap

- [x] Python package with CLI
- [x] Web demo with Next.js
- [x] Automated publishing to PyPI
- [ ] Telegram bot for styling messages
- [ ] VS Code extension
- [ ] More emoji styles (retro, space, nature)
- [ ] Custom style creator
- [ ] REST API endpoint

## Contributing

Contributions welcome! Feel free to:

- Suggest new styles
- Report bugs
- Submit pull requests

## License

MIT License - see [LICENSE](LICENSE) file for details

## Links

- ๐Ÿ“ฆ [PyPI](https://pypi.org/project/emoji-styler/)
- ๐Ÿ™ [GitHub](https://github.com/ruslanlap/emoji-styler)
- ๐ŸŒ [Web Demo](https://emoji-styler.vercel.app) (coming soon)
- ๐Ÿค– [Telegram Bot](https://t.me/emoji_styler_bot) (coming soon)

---

Made with ๐Ÿ’– by [Ruslan](https://github.com/ruslanlap)