https://github.com/michael-lazar/astrobotany
🌱 A community garden over the Gemini protocol
https://github.com/michael-lazar/astrobotany
Last synced: 2 months ago
JSON representation
🌱 A community garden over the Gemini protocol
- Host: GitHub
- URL: https://github.com/michael-lazar/astrobotany
- Owner: michael-lazar
- License: other
- Created: 2020-04-04T05:17:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-25T01:45:43.000Z (6 months ago)
- Last Synced: 2025-03-28T19:08:24.363Z (3 months ago)
- Language: Python
- Homepage: gemini://astrobotany.mozz.us
- Size: 2.29 MB
- Stars: 144
- Watchers: 4
- Forks: 13
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Astrobotany
[](https://github.com/michael-lazar/astrobotany/actions)
[](https://github.com/psf/black)A community garden over the [gemini](https://gemini.circumlunar.space/) protocol. Fork of [jifunks/botany](https://github.com/jifunks/botany).

---
🌱 • 🛰️ • 🌷 • 🐝 • 🚀 • 🌵 • 👩🚀
gemini://astrobotany.mozz.us
(http proxy)
🥕 • 🔭 • 🌺 • 👩🔬 • 🌍 • 👨🌾 • 🌧️---
## Development
(requires python 3.10+)
```bash
# Download the source
git clone [email protected]: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](scripts/build_palette.py))
- 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 |