Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Termisprite

Termisprite is a terminal-based pixel art sprite editor written in C++. It allows you to create, edit, and manipulate pixel art directly from your terminal.

Hollow knight Termisprite example  Mario Termisprite Example

Features

  • Terminal-Based Interface: No graphical desktop environment required; runs directly in your terminal window.
  • Pixel Art Editing: Built-in tools for drafting and drawing sprites using standard keyboard inputs.
  • Full Mouse and keyboard support: Both mouse and keyboard inputs are supported for a more intuitive editing experience.
  • Tools: Includes basic drawing tools such as pencil, eraser, fill, and selection tools, as well as basic shapes like ellipses and rectangles.
  • Color Palette: Supports a wide range of colors and allows you to create custom palettes for your projects.
  • Import/Export: Load and save your pixel art in various formats

Installation

From releases

MacOS

Download the macOS .zip archive from the Releases page and extract it.

Because the binary is not signed through an Apple Developer account, macOS will quarantine the file. You must remove this flag before you can run it:

tar -xzf termisprite-macos-universal.tar.gz
xattr -d com.apple.quarantine termisprite-macos-universal
./termisprite-macos-universal

Linux (Debian / Ubuntu)

Download the latest .deb package from the Releases page and install it via apt:

sudo apt install ./termisprite-linux-x86_64.deb

Other Linux distributions

unzip termisprite-linux-x86_64.tar.gz
./termisprite-linux-x86_64

Package Managers (TODO)

Note: Official package repository distribution is currently planned for a future release.

Debian/Ubuntu (APT):

# TODO: sudo apt install termisprite

Arch Linux (Pacman):

# TODO: sudo pacman -S termisprite

MacOS (Homebrew):

# TODO: brew install javiercladellas/tap/termisprite

Building from Source

To build Termisprite locally from source, ensure your system has the following prerequisites installed:

  • A modern C++ compiler (GCC, Clang, or MSVC)
  • CMake (version 3.28 or higher)
  • A build system (Make, Ninja, etc.)

1. Clone the repository:

git clone https://github.com/JavierCladellas/termisprite.git
cd termisprite

2. Configure the build environment: This project uses standard CMake and includes a CMakePresets.json to simplify the build process.

cmake --preset default

3. Build the executable:

cmake --build --preset default

4. Install the package: To run the command globally, install the built files to your system path. You may need elevated privileges (e.g., sudo) depending on your operating system.

cmake --install --preset default

Usage

Once installed, you can launch the editor from any directory in your terminal:

termisprite

Contributing

Contributions to Termisprite are highly appreciated. To ensure a smooth collaboration process, please review the following guidelines:

Reporting Bugs and Requesting Features

  • Use the GitHub Issues tracker to report bugs or suggest new features.
  • Prior to creating a new issue, please search existing open issues to avoid duplicates.
  • When reporting bugs, include detailed steps to reproduce the issue, your operating system, and the terminal emulator you are using.

Development Workflow

  1. Fork the repository and create your feature branch from main (git checkout -b feature/my-new-feature).
  2. Write clear and descriptive commit messages.
  3. Ensure your code aligns with the existing project structure and style.
  4. Test your changes locally to ensure they do not introduce regressions.
  5. Push your branch (git push origin feature/my-new-feature) and open a Pull Request.
  6. Provide a comprehensive description of your changes within the Pull Request.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

About

Terminal pixel art sprite editor

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages