dōteki FIGlet plugin
Contributed a FIGlet plugin to dōteki, an automation tool for GitHub profile customization. The plugin transforms text into customizable ASCII art, allowing users to add artistic text representations to their GitHub profiles.
Plugin documentation
Features
- Text to ASCII art conversion using FIGlet fonts
- Customizable font selection
- Clean output formatting with automatic whitespace trimming
- Error handling for invalid fonts and configurations
- 100% test coverage
Technical implementation
The plugin demonstrates several key programming concepts:
- Type hints for better code maintainability
- Robust error handling and logging
- Input validation
- String manipulation and processing
- Integration with external libraries (pyfiglet)
Development process
- Implemented core functionality with type safety
- Added comprehensive error handling
- Created detailed documentation
- Collaborated with project maintainer through code reviews
- Achieved 100% test coverage
- Resolved CI/CD integration challenges
Example output
___ ___ ___ ___ ___
/\__\ /\ \ /\__\ /\__\ /\ \
/:/ / /::\ \ /:/ / /:/ / /::\ \
/:/__/ /:/\:\ \ /:/ / /:/ / /:/\:\ \
/::\ \ ___ /::\~\:\ \ /:/ / /:/ / /:/ \:\ \
/:/\:\ /\__\ /:/\:\ \:\__\ /:/__/ /:/__/ /:/__/ \:\__\
\/__\:\/:/ / \:\~\:\ \/__/ \:\ \ \:\ \ \:\ \ /:/ /
\::/ / \:\ \:\__\ \:\ \ \:\ \ \:\ /:/ /
/:/ / \:\ \/__/ \:\ \ \:\ \ \:\/:/ /
/:/ / \:\__\ \:\__\ \:\__\ \::/ /
\/__/ \/__/ \/__/ \/__/ \/__/