{"id":21650660,"url":"https://github.com/jofmi/collectivo","last_synced_at":"2025-04-11T20:21:26.972Z","repository":{"id":207348969,"uuid":"718989357","full_name":"jofmi/collectivo","owner":"jofmi","description":"Collectivo is a modular open-source framework for buildig community platforms. ","archived":false,"fork":false,"pushed_at":"2024-09-10T06:13:22.000Z","size":4551,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T16:16:39.423Z","etag":null,"topics":["collaboration","community","data-management","participation","self-organization"],"latest_commit_sha":null,"homepage":"https://docs.collectivo.io","language":"TypeScript","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/jofmi.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}},"created_at":"2023-11-15T08:00:22.000Z","updated_at":"2024-09-06T14:12:37.000Z","dependencies_parsed_at":"2023-12-04T13:45:24.714Z","dependency_job_id":"51f7b8fd-6590-45af-8cbe-20663db0f986","html_url":"https://github.com/jofmi/collectivo","commit_stats":{"total_commits":118,"total_committers":4,"mean_commits":29.5,"dds":0.05932203389830504,"last_synced_commit":"8f6ef506a4338aa07b0d4030f2eada2da7fd75ea"},"previous_names":["collectivo-dev/collectivo","jofmi/collectivo"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jofmi%2Fcollectivo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jofmi%2Fcollectivo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jofmi%2Fcollectivo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jofmi%2Fcollectivo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jofmi","download_url":"https://codeload.github.com/jofmi/collectivo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473079,"owners_count":21109629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["collaboration","community","data-management","participation","self-organization"],"created_at":"2024-11-25T07:41:51.357Z","updated_at":"2025-04-11T20:21:26.931Z","avatar_url":"https://github.com/jofmi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COLLECTIVO\n\nCollectivo is an open-source template for community platforms, based on Directus, Nuxt, and Keycloak.\n\n## Local setup\n\n- Install Docker and PNPM\n- Clone this repository\n- Create .env file with `cp .env.example .env`\n- Create a network `docker network create proxiable`\n- Run `docker compose up -d keycloak keycloak-db`\n- When keycloak is running, run `docker compose up -d`\n- Log in at http://localhost:8055 with `api@example.com` and `d1r3ctu5`\n- Install the [directus-sync](https://www.npmjs.com/package/directus-extension-sync) extension\n- Apply schema with `npx directus-sync push`\n- Install packages with `pnpm i`\n- Start dev server with `pnpm dev`\n- Create example data with `pnpm seed` (run in a separate terminal while `pnpm dev` is running, sometimes it needs to be run twice)\n- Go to http://localhost:3000 and http://localhost:8055\n\n## Production setup\n\n- Install Docker and PNPM\n- [Set up a reverse proxy](https://www.linode.com/docs/guides/using-nginx-proxy-manager/) with a docker network called `proxiable`\n- Set the following [custom Nginx configuration](https://stackoverflow.com/questions/56126864) for Keycloak\n  ```\n  proxy_buffer_size   128k;\n  proxy_buffers   4 256k;\n  proxy_busy_buffers_size   256k;\n  ```\n- Clone this repository\n- Run `pnpm i` and `pnpm build`\n- Run `docker compose up -d`\n- Apply database schema (see below)\n\n## Change database schemas\n\nCollectivo uses [directus-sync](https://github.com/tractr/directus-sync) for changes in the database schema.\n\n- Make changes to the database schema on your local system\n- Run `npx directus-sync pull` to update the database schema in the repository\n- Make a database backup of the production system (see below)\n- Run `npx directus-sync push -u \"\u003cURL\u003e\" -e \"\u003cEMAIL\u003e\" -p \"\u003cPASSWORD\u003e\"` to apply the new database schema to the production system\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjofmi%2Fcollectivo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjofmi%2Fcollectivo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjofmi%2Fcollectivo/lists"}