{"id":13480746,"url":"https://github.com/emacsorphanage/mongo","last_synced_at":"2026-03-05T22:33:09.814Z","repository":{"id":66735383,"uuid":"2437513","full_name":"emacsorphanage/mongo","owner":"emacsorphanage","description":"MongoDB driver for Emacs Lisp","archived":false,"fork":false,"pushed_at":"2015-03-15T12:23:55.000Z","size":123,"stargazers_count":47,"open_issues_count":2,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-02-16T22:39:43.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emacsorphanage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://emacsair.me/about","github":"tarsius"}},"created_at":"2011-09-22T14:18:24.000Z","updated_at":"2025-12-04T20:14:45.000Z","dependencies_parsed_at":"2023-02-20T15:14:32.488Z","dependency_job_id":null,"html_url":"https://github.com/emacsorphanage/mongo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emacsorphanage/mongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacsorphanage%2Fmongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacsorphanage%2Fmongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacsorphanage%2Fmongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacsorphanage%2Fmongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emacsorphanage","download_url":"https://codeload.github.com/emacsorphanage/mongo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emacsorphanage%2Fmongo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30152881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T21:15:50.531Z","status":"ssl_error","status_checked_at":"2026-03-05T21:15:11.173Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-07-31T17:00:44.533Z","updated_at":"2026-03-05T22:33:09.766Z","avatar_url":"https://github.com/emacsorphanage.png","language":"Emacs Lisp","funding_links":["https://emacsair.me/about","https://github.com/sponsors/tarsius"],"categories":["Libraries"],"sub_categories":["Lisp"],"readme":"This is EmacsLisp for talking to mongo-db.\n\nA quick example using Marmalade's mongo-db:\n\n```\n(let* ((result\n        (mongo-with-open-database\n            (db :host 'local)\n          (mongo-do-request\n           (make-mongo-message-query\n            :flags 0\n            :number-to-skip 0\n            :number-to-return 0\n            :full-collection-name \"marmalade.packages\"\n            :query '((\"name\" . \"fakir\")))\n           :database db)))\n       (docres (mongo-message-reply-documents result)))\n  (assoc-string\n   \"headers\"\n   (assoc-string \"_latestVersion\" (car docres))))\n```\n\nThis performs a query for a single result, the ```car docres``` is\nused just because the result is always a list.\n\nYou can look up objects by their object id by using the bson serializer:\n\n```\n(make-mongo-message-query\n :flags 0\n :number-to-skip 0\n :number-to-return 0\n :full-collection-name \"marmalade.packages\"\n :query (list (cons \"_id\" (bson-oid-of-hex-string \"4f65e980cd6108da68000252\"))))\n```\n\nDealing with mongo\n==================\n\nDealing with mongo seems to result in lots of little JSON documents\nrepresented as alists.\n\n[This module might help with that](https://github.com/nicferrier/emacs-dotaccess)\n\n\nBuilding with Elpakit\n=====================\n\nAn [elpakit](https://github.com/nicferrier/elpakit) recipe is included\nso you can easily build the mongo-el package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femacsorphanage%2Fmongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femacsorphanage%2Fmongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femacsorphanage%2Fmongo/lists"}