Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TerramedicCorps/terramedic

Terramedic

Terramedic Corps connects humans and AI to the environmental organizations that need them. We offer people four pathways to action — volunteer, donate, adopt everyday actions, or make it a career — and we're building infrastructure for AI agents to contribute too.

See docs/STRATEGY.md for our full strategic direction.

Public Domain Dedication for the term "terramedic"

Leila Hadj-Chikh came up with the word "TerraMedics" as the name for her team at Conservation X Labs' Make for the Planet competition at the inaugural Earth Optimism Summit in 2017 in Washington, DC.

The term "terramedic" is now intentionally placed in the public domain by the originator of this term. It is free for anyone to use, share, adapt, and apply in any context — without restriction or attribution.

This dedication is made under Creative Commons Zero (CC0 1.0 Universal), which waives all rights to the term and affirms that it is not, and should not be, treated as a trademark or proprietary label.

We encourage everyone to use "terramedics" to describe individuals and communities caring for the Earth.

Tech Stack

Frontend:

Backend:

  • Django with Django Ninja REST API
  • PostgreSQL (PostGIS) in production, SpatiaLite locally
  • Deployed to AWS Lambda via Zappa

Testing:

Code quality:

  • ESLint, Prettier (frontend)
  • Ruff, mypy (backend)

Getting Started

Prerequisites

  • Node.js 20+ and Yarn
  • Python 3.14+ and Poetry
  • Git

Frontend

git clone https://github.com/TerramedicCorps/terramedic.git
cd terramedic/terramedic
yarn install
yarn dev

Backend

cd terramedic/backend
poetry install
poetry run python manage.py migrate
poetry run python manage.py runserver

Common Scripts

Frontend (run from terramedic/):

Command Description
yarn dev Start development server
yarn build Build for production
yarn preview Preview production build
yarn test:unit Run unit tests (Vitest)
yarn test:e2e Run end-to-end tests (Playwright)
yarn test Run all tests
yarn lint Check linting
yarn format Format code

Backend (run from backend/):

Command Description
poetry run python manage.py runserver Start dev server
poetry run pytest Run tests
poetry run ruff check . Lint Python code
poetry run mypy terramedic Type-check Python code

Project Structure

terramedic/
├── terramedic/          # SvelteKit frontend
│   ├── src/
│   │   ├── routes/      # Pages (about, volunteer, donate, etc.)
│   │   └── lib/
│   │       ├── components/  # Reusable Svelte components
│   │       ├── server/      # Server-only utilities
│   │       └── utils/       # Client utilities
│   ├── e2e/             # Playwright end-to-end tests
│   ├── tests/           # Vitest unit tests
├── backend/             # Django REST API
│   └── terramedic/
│       ├── core/        # Settings, URL routing, API config
│       └── organizations/  # Org models, API, admin
├── terraform/           # Infrastructure as code
├── docs/                # Strategy, architecture docs
└── .github/             # CI/CD workflows, PR templates

Contributing

We welcome contributions! Whether you're fixing bugs, adding features, improving documentation, or helping with testing, your contributions are valued.

  1. Read our Contributing Guide
  2. Check out our Code of Conduct
  3. Browse open issues or create a new one
  4. Fork the repository and create a feature branch
  5. Submit a pull request

See CLAUDE.md for AI-assisted development guidelines.

Security

If you discover a security vulnerability, please review our Security Policy for responsible disclosure guidelines. Send reports to [email protected].

License

Code is licensed under GPL-3.0. Non-code content is licensed under CC BY 4.0. See LICENSE.md for details.

Acknowledgements

  • Ed Hawkins for creating the warming stripes visualization
  • Climate science organizations for their data and research
  • All the people working to build a sustainable future

About

Connecting humans and AI to the environmental organizations that need them. SvelteKit frontend + Django API.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors