{"id":18952585,"url":"https://github.com/jdan/notion-augment","last_synced_at":"2026-03-29T11:30:18.464Z","repository":{"id":143901601,"uuid":"405102733","full_name":"jdan/notion-augment","owner":"jdan","description":"Augment a Notion database on command","archived":false,"fork":false,"pushed_at":"2021-09-12T01:01:33.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-14T15:18:46.648Z","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/jdan.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-10T14:09:30.000Z","updated_at":"2021-09-12T01:01:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b39e31e-2325-41ee-9a6c-0e4b9f0a8e67","html_url":"https://github.com/jdan/notion-augment","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/jdan%2Fnotion-augment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fnotion-augment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fnotion-augment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fnotion-augment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdan","download_url":"https://codeload.github.com/jdan/notion-augment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239952598,"owners_count":19723922,"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-11-08T13:34:02.391Z","updated_at":"2026-03-29T11:30:18.407Z","avatar_url":"https://github.com/jdan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## notion-augment\n\nAugment your [Notion](https://notion.so) databases on command, à la [Man-Computer Symbiosis](https://en.wikipedia.org/wiki/Man-Computer_Symbiosis).\n\n### usage\n\n```js\nconst augment = require(\"notion-augment\");\n\nrequire(\"dotenv\").config();\n\nfunction concatenateTitle(arr) {\n  return arr.map((i) =\u003e i.text.content).join(\"\");\n}\n\naugment(\n  {\n    token: process.env.NOTION_TOKEN,\n    database: process.env.NOTION_DATABASE_ID,\n    sorts: [],\n  },\n  (row) =\u003e {\n    const seed = concatenateTitle(row.properties.Seed.title);\n    const url = `https://hashpng.jordanscales.com/circles/685/360/${seed}.png`;\n    // https://developers.notion.com/reference/patch-page\n    return {\n      Art: {\n        files: [\n          {\n            type: \"external\",\n            name: `${seed}.png`,\n            external: { url },\n          },\n        ],\n      },\n    };\n  }\n);\n```\n\n![augment](https://user-images.githubusercontent.com/287268/132866840-b65e67b8-e844-4acd-8558-0547b2e4eef2.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdan%2Fnotion-augment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdan%2Fnotion-augment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdan%2Fnotion-augment/lists"}