{"id":23449443,"url":"https://github.com/wekan/ferretdb","last_synced_at":"2025-10-30T19:31:28.424Z","repository":{"id":184759216,"uuid":"672430016","full_name":"wekan/ferretdb","owner":"wekan","description":"FerretDB etc Database connect tests with Meteor, Node.js, Bun and Deno. Creating single executeables with Bun and Deno.","archived":false,"fork":false,"pushed_at":"2025-02-10T11:48:59.000Z","size":262,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T12:36:22.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/wekan.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-07-30T03:59:02.000Z","updated_at":"2025-02-10T11:49:03.000Z","dependencies_parsed_at":"2025-02-10T12:29:28.615Z","dependency_job_id":"0260e0d4-44c9-428e-8d63-f76e8eb21083","html_url":"https://github.com/wekan/ferretdb","commit_stats":null,"previous_names":["wekan/wekan-node20"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wekan%2Fferretdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wekan%2Fferretdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wekan%2Fferretdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wekan%2Fferretdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wekan","download_url":"https://codeload.github.com/wekan/ferretdb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239040633,"owners_count":19572032,"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":[],"created_at":"2024-12-23T22:43:29.009Z","updated_at":"2025-10-30T19:31:28.419Z","avatar_url":"https://github.com/wekan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## FerretDB\n\n- 2025-05-15: FerretDB 2.0 PostgreSQL testing:\n  - https://forums.meteor.com/t/guide-how-to-use-meteor-with-postgres/55709/20\n  - https://atmospherejs.com/meteorisgreat/ferretdb-index-fix\n  - https://github.com/tannerlab/ferretdb-index-fix'\n  - https://forums.meteor.com/t/ferretdb-1-18-now-has-oplog-support-trying-replace-mongodb-6-x-with-ferretdb-postgresql-or-ferretdb-sqlite/61092/7\n- Meteor Forum post https://forums.meteor.com/t/ferretdb-1-18-now-has-oplog-support-trying-replace-mongodb-6-x-with-ferretdb-postgresql-or-ferretdb-sqlite/61092/4\n- FerretDB known differences: https://docs.ferretdb.io/diff/\n- FerretDB OpLog Support: https://docs.ferretdb.io/configuration/oplog-support/\n  - https://github.com/FerretDB/FerretDB/issues/76\n- FerretDB: Achieve compatibility with WeKan\n  - https://github.com/FerretDB/FerretDB/issues/1752\n- FerretDB: Improve compatibility with real specific apps and libraries\n  - https://github.com/FerretDB/FerretDB/issues/5 \n- FerretDB: High level Roadmap to end of Q4 2024:\n  - https://github.com/orgs/FerretDB/projects/2/views/1\n  - There is \"No Stage\" mention of Change Streams as a wish sometime:\n    - https://github.com/FerretDB/FerretDB/issues/175\n\n#### Optional: Deleting all Docker volumes etc data to cleanup\n\n```\ngit clone https://github.com/wekan/docker-cleanup-volumes\n\ncd docker-cleanup-volumes\n\n./start.sh\n```\n\n#### 1) Starting this FerretDB/SQLite\n\n```\ngit clone https://github.com/wekan/ferretdb\n\ncd ferretdb/sqlite\n\ndocker compose up -d\n```\n\n#### 2) Manually create OpLog collection\n\n```\nmongosh\n\nuse local\n\ndb.createCollection('oplog.rs', { capped: true, size: 536870912 })\n```\n\n#### 3) Build WeKan\n\n```\ngit clone https://github.com/wekan/wekan\n\ncd wekan\n\n./rebuild-wekan.sh\n\n1\n\n./rebuild-wekan.sh\n\n2\n\n./rebuild-wekan.sh\n\n3\n```\n\n#### 4) OpLog Settings\n\nThese are at ~/repos/ferretdb/wekan/start-wekan.sh\n```\ncd ~/repos/wekan/.build/bundle\n\nexport MONGO_OPLOG_URL=mongodb://127.0.0.1:27017/local?replicaSet=rs0\n\nexport MONGO_URL=mongodb://127.0.0.1:27017/wekan\n\nexport ROOT_URL=http://localhost:4000\n\nexport PORT=4000\n\nnode main.js\n\ncd ~/repos/ferretdb/wekan\n```\n\n#### 5) Start WeKan bundle\n\n```\ncd ~/repos/ferretdb/wekan\n\n./start-wekan.sh\n```\nWeb browser URL: http://localhost:4000\n\n#### 6) Look that there is something at OpLog\n\n```\nmongosh\n\nuse local\n\ndb.oplog.rs.countDocuments()\n\ndb.oplog.rs.find()\n```\n\n#### 7) Look what has been able to write to database\n\n```\nmongosh\n\nuse wekan\n\nshow collections\n\ndb.boards.countDocuments()\n\ndb.boards.find()\n\ndb.cards.find()\n```\n\n#### 8) Currently working with FerretDB\n\n- Registering new user at https://localhost:2000/sign-up\n- Login at https://localhost:2000/sign-in\n- Add new user at right top username / Admin Panel / People / People\n\n#### 9) Currently not working with FerretDB\n\n- Adding attachments related collections to GridFS\n- Adding new board, errors about matchElement and userId\n\n#### TODO: Later, try to fix this to create OpLog collection at start for PostgreSQL\n\ndocker-compose.yml\n```\nferretdb-sqlite-setup:\n image: ghcr.io/ferretdb/all-in-one\n restart: no\n depends_on:\n   - ferretdb-sqlite\n entrypoint: [ \"bash\", \"-c\", \"sleep 10 \u0026\u0026 /usr/bin/mongosh --host ferretdb-postgresql:27017 --eval 'use local;db.createCollection('oplog.rs', { capped: true, size: 536870912 });'\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwekan%2Fferretdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwekan%2Fferretdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwekan%2Fferretdb/lists"}