michael-lazar / astrobotany

🌱 A community garden over the Gemini protocol

Home Page:gemini://astrobotany.mozz.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astrobotany

Build Code style: black

A community garden over the gemini protocol. Fork of jifunks/botany.

Astrobotany


🌱 β€’ πŸ›°οΈ β€’ πŸŒ· β€’ πŸ β€’ πŸš€ β€’ πŸŒ΅ β€’ πŸ‘©β€πŸš€
gemini://astrobotany.mozz.us (http proxy)
πŸ₯• β€’ πŸ”­ β€’ πŸŒΊ β€’ πŸ‘©β€πŸ”¬ β€’ πŸŒ β€’ πŸ‘¨β€πŸŒΎ β€’ πŸŒ§οΈ


Development

(requires python 3.10+)

# Download the source
git clone git@github.com:michael-lazar/astrobotany.git
cd astrobotany/

# Initialize a virtual environment and install pip dependencies, etc.
tools/boostrap

# Launch a local server
tools/astrobotany

# Initialize pre-commit hooks
pre-commit install

# Run the tests, linters, etc.
tools/pytest
tools/mypy
tools/lint

# Interact with the local database
sqlite3 data/astrobotany.sqlite

ASCII Art

I used a forked version of the playscii ASCII art program to generate the .psci files:

https://github.com/michael-lazar/playscii

Botany's original art files were imported using the following settings:

  • palette: 240-ansi (generated using this script)
  • charset: dos (of which 7-bit US ASCII is a subset)

While colorizing the images, I maintained a few common colors between plants:

Color Code Usage
0 background
80 soil
133 primary flower color
199 secondary flower color

About

🌱 A community garden over the Gemini protocol

gemini://astrobotany.mozz.us

License:Other


Languages

Language:Python 98.9%Language:Shell 1.1%