Skip to main content

Simple program that generates a logo for your open source projects.

Project description

💠 Simple program that generates a logo for your open source projects 💠

Credits

I had the idea to create this project after seeing the logos made by adi1090x for his repositories. They were simple but gave a nice feel to his projects. I wanted a logo that gives the same energy, but didn't manage to find how he made them (most likely manually, with GIMP according the the exif data of the images). So I decided to make a program that would allow anyone to generate a cool and simple logo for their projects.

How to install 📥

You can install octologo easily with pip:

python3 -m pip install octologo

You can also use pipx:

pipx install octologo

Now, start the app with:

octologo

[!CAUTION] If the command is not found after installtion, you must add ~/.local/bin to your path. You can do this by adding export PATH=$PATH:~/.local/bin to your .bashrc or .zshrc file.

# For bash
echo 'export PATH=$PATH:~/.local/bin' >> ~/.bashrc

# For zsh
echo 'export PATH=$PATH:~/.local/bin' >> ~/.zshrc

Styles

Style 1 - First letters underlined

The number of letters to underline is customizable since version 2.0.0

Color schemes

Color scheme 1 - adi1090x's color scheme

Color scheme 2 - Cherry

Color scheme 3 - Midnight Abyss

Contributing 🤝

Please, open an issue if you have any suggestion or if you found a bug. I will try to fix it as soon as possible.

General Info About the Project 📖

This is a terminal application that allows developers to generate logos for their projects. It uses the following technologies for the development process and for the build pipeline:

  • PDM for development scripts and managing (dev)dependencies.
  • Ruff for linting and formatting
  • Pyright for type checking

You can install PDM with the following command:

curl -sSL https://pdm-project.org/install-pdm.py | python3 -

Setting up the development environment 🖥️

git clone https://github.com/YOUR_USERNAME/octo-logo
cd ./octo-logo
  • Install dependencies
pdm install

Files and directories 📂

Configuration Files:

  • ruff.toml: Ruff configuration file (for linting and formatting)
  • pyproject.toml: Python module configuration

Source: 🔢

  • src/octologo/colors/: Contains color schemes (.toml files).
  • src/octologo/fonts/: Contains font files that can be used in the app.
  • src/octologo/styles/: Contains available logo styles.
  • src/octologo/__main__.py: Application entry point.

Other: 📄

  • assets/: Assets for the GitHub repo only.

Creating a pull request 👍

If you'd like to contribute, please open an empty pull request and provide an explanation of your proposed changes. Once I approve it, you can begin your work. It's always disheartening to reject a pull request after someone has invested a lot of time and effort into it. 😿

  • Create a branch for your contribution
git checkout -b my-new-feature
  • When you finished your changes, you must check your code's formatting and linting and fix all the errors.
pdm run format # Check for formatting errors (most errors should be automatically fixed)
pdm run lint # Check for linting errors
pdm run check-types # Check for type errors
  • After that, add your changes to CHANGELOG.md and update the README if needed.

  • Do not increment the module version yourself, the maintainer will do it.

  • Then, you can commit your work and push to your fork.

git add --all 
git commit -m "Added a new feature"
git push -u origin my-new-feature
  • Finally, you can create your pull request from your fork repo's github page.

PDM scripts

  • format: Checks for formatting errors and fixes them if possible.
  • format-check: Checks for formatting errors and exists with error code if any is found.
  • lint: Checks for linting errors and fixes them if possible.
  • lint-check: Check for linting errors and exits with error code if any is found.
  • check-types: Check for type errors with Pyright.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octologo-3.0.1.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

octologo-3.0.1-py3-none-any.whl (1.2 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page