{"id":13783592,"url":"https://github.com/aljedaxi/logseq-zotero","last_synced_at":"2025-05-11T19:31:08.439Z","repository":{"id":143198961,"uuid":"330245197","full_name":"aljedaxi/logseq-zotero","owner":"aljedaxi","description":"zotering in logseq","archived":true,"fork":false,"pushed_at":"2021-02-20T22:00:53.000Z","size":27,"stargazers_count":22,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-18T22:23:43.515Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/aljedaxi.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-01-16T19:57:22.000Z","updated_at":"2023-01-28T05:20:55.000Z","dependencies_parsed_at":"2023-05-23T19:30:18.265Z","dependency_job_id":null,"html_url":"https://github.com/aljedaxi/logseq-zotero","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljedaxi%2Flogseq-zotero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljedaxi%2Flogseq-zotero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljedaxi%2Flogseq-zotero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aljedaxi%2Flogseq-zotero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aljedaxi","download_url":"https://codeload.github.com/aljedaxi/logseq-zotero/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253621004,"owners_count":21937458,"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-08-03T19:00:25.622Z","updated_at":"2025-05-11T19:31:08.176Z","avatar_url":"https://github.com/aljedaxi.png","language":"JavaScript","funding_links":[],"categories":["💡 Workflows and Innovations"],"sub_categories":[],"readme":"# logseq x zotero\n\n## how to use\n\nfirst, clone your logseq repo. \n\n### on unix systems:\n\ninstall node somehow. [this](https://formulae.brew.sh/formula/node#default) is nice on mac os. \n\n```sh\nAPI_KEY=this is my api key, that i made by going to https://www.zotero.org/settings/keys\nUSER_ID=this is my user id, that\\'s listed at https://www.zotero.org/settings/keys\nBIB_FILE_TITLE=title for the file that links to all created files; optional\nexport API_KEY USER_ID; node ./index.js ${pathToMyLogseqInstance}/pages\n```\n\non windows:\n\ninstall node somehow. i recommend [this](https://chocolatey.org/packages/nodejs.install)\n\n```bat\nSET API_KEY=this is my api key, that i made by going to https://www.zotero.org/settings/keys\nSET USER_ID=this is my user id, that's listed at https://www.zotero.org/settings/keys\nSET BIB_FILE_TITLE=title for the file that links to all created files; optional\ncall node ./index.js ${pathToMyLogseqInstance}/pages\n# haven't tested this yet!\n```\n\n## what it does\n\nthis will access your zotero library and create a file called `z_${titleOfWorkLowerSnakeCase}.md`, with the title of the work as the title. each file has the title of the work as the title, so you can reference it in logseq as [[title of the work]].  a link to every added file is put into `${BIB_FILE_TITLE.toLowerCase().replace(/\\s+/, '_')}`, a little bibliography of sorts.\n\nit only writes files that don't currently exist, so feel free to add notes to created files.\n\nif you want a different file name or file title, go into index.js and replace the function `makeName` with anything with the same signature.  the function takes as input the data property of https://gist.github.com/dstillman/f1030b9609aadc51ddec and returns `Maybe\u003c{title: string; fileName: string}\u003e`. follow your heart.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faljedaxi%2Flogseq-zotero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faljedaxi%2Flogseq-zotero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faljedaxi%2Flogseq-zotero/lists"}