{"id":51638615,"url":"https://github.com/robmcelhinney/donatelo","last_synced_at":"2026-07-13T17:33:31.385Z","repository":{"id":366690432,"uuid":"1255484633","full_name":"robmcelhinney/donatelo","owner":"robmcelhinney","description":"A pairwise ranking tool that turns your cause preferences into a personalised donation allocation.","archived":false,"fork":false,"pushed_at":"2026-06-24T21:43:06.000Z","size":1712,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-13T17:33:28.883Z","etag":null,"topics":["donate","elo","ranking"],"latest_commit_sha":null,"homepage":"https://donatelo.robmcelhinney.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robmcelhinney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T22:08:18.000Z","updated_at":"2026-06-24T21:43:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/robmcelhinney/donatelo","commit_stats":null,"previous_names":["robmcelhinney/donatelo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robmcelhinney/donatelo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fdonatelo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fdonatelo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fdonatelo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fdonatelo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmcelhinney","download_url":"https://codeload.github.com/robmcelhinney/donatelo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fdonatelo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35430964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-13T02:00:06.543Z","response_time":119,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["donate","elo","ranking"],"created_at":"2026-07-13T17:33:30.797Z","updated_at":"2026-07-13T17:33:31.377Z","avatar_url":"https://github.com/robmcelhinney.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Donatelo\n\nDonatelo is a small, self-hostable web app that helps people decide how to split a donation across cause areas.\n\nInstead of asking users to assign percentages from scratch, it presents two causes at a time. The resulting pairwise preferences are converted into a 100% allocation that can be adjusted, reviewed, and shared.\n\n**Live site:** [donatelo.robmcelhinney.com](https://donatelo.robmcelhinney.com)\n\n![Donatelo cause-selection screen](docs/assets/donatelo-screenshot.png)\n\n## Features\n\n- Rank cause areas through simple pairwise comparisons\n- Mark two causes as equally important or skip a comparison\n- Add, edit, and remove custom cause areas\n- Adjust the final allocation from more balanced to more decisive\n- Edit or remove earlier answers and replay the ranking history\n- Share a saved session or export the result as an image\n- Continue comparing causes after the initial result\n- Delete a saved session from the server\n- Follow an external effective-giving guide for organisation recommendations\n\nDonatelo does not recommend individual charities itself. Its result represents the user's preferences between broad cause areas; it is not an assessment of objective need or charity effectiveness.\n\n## How it works\n\nEach choice updates the two causes using an Elo-style rating. An equal choice is recorded as a draw, while a skipped comparison does not affect the ratings or progress.\n\nThe ratings are converted into positive weights and normalised to total 100%. An allocation-style control blends that result with an even split, allowing the user to make the final allocation flatter or sharper. See the in-app methodology page for more detail.\n\n## Tech stack\n\n- React 18\n- Vite 5\n- Node.js HTTP server\n- JSON-backed session storage\n\nThe Node server provides the API, persists sessions, and serves the Vite build in production. No database or third-party service is required.\n\n## Local development\n\nRequirements: a current Node.js LTS release and npm.\n\n```bash\ngit clone https://github.com/robmcelhinney/donatelo.git\ncd donatelo\nnpm ci\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000).\n\nSession data is written to `.donatelo/sessions.json`, which is excluded from Git.\n\n## Docker Compose\n\nBuild and start the production app:\n\n```bash\ndocker compose up -d --build\n```\n\nThe included Compose file publishes the app at `http://localhost:3003`. Change the left side of the port mapping if another host port is required:\n\n```yaml\nports:\n    - \"3003:3000\"\n```\n\nSessions are stored in the `donatelo-data` named volume and survive container replacement. To inspect the service:\n\n```bash\ndocker compose ps\ndocker compose logs -f donatelo\ncurl http://localhost:3003/api/health\n```\n\nFor a public deployment, place the container behind a TLS-terminating reverse proxy such as Nginx or Caddy. Only the reverse proxy needs to be exposed to the internet.\n\n## Privacy and data\n\nA session contains a random identifier, selected and custom causes, comparison answers, ratings, allocation settings, and timestamps. Donatelo does not ask for a name, email address, or payment details, and the application contains no analytics or advertising trackers.\n\nSessions are stored on the server until deleted. Anyone with a session URL can view its answers and results, so shared links should be treated as private. This repository's JSON store is suitable for a small single-instance deployment; larger or multi-instance deployments should replace it with a transactional data store and define an explicit retention policy.\n\n## Contributing\n\nIssues and pull requests are welcome.\n\n## Licence\n\nDonatelo is available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmcelhinney%2Fdonatelo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmcelhinney%2Fdonatelo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmcelhinney%2Fdonatelo/lists"}