{"id":14674000,"url":"https://github.com/tipogi/bushido.library","last_synced_at":"2025-09-09T02:33:18.539Z","repository":{"id":41110137,"uuid":"480313983","full_name":"tipogi/bushido.library","owner":"tipogi","description":"CLI NestJS application to merge/add nodes in bushido.guide. Add in the bookmarks folder the URL with details and run the command ","archived":false,"fork":false,"pushed_at":"2023-10-06T10:06:05.000Z","size":684,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-13T10:27:09.951Z","etag":null,"topics":["cli","json","neo4j","nestjs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tipogi.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}},"created_at":"2022-04-11T09:34:34.000Z","updated_at":"2024-09-08T19:26:16.000Z","dependencies_parsed_at":"2023-02-12T17:16:09.953Z","dependency_job_id":null,"html_url":"https://github.com/tipogi/bushido.library","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/tipogi%2Fbushido.library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tipogi%2Fbushido.library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tipogi%2Fbushido.library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tipogi%2Fbushido.library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tipogi","download_url":"https://codeload.github.com/tipogi/bushido.library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232384892,"owners_count":18515200,"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":["cli","json","neo4j","nestjs","typescript"],"created_at":"2024-09-12T07:01:51.305Z","updated_at":"2025-01-03T19:30:25.463Z","avatar_url":"https://github.com/tipogi.png","language":"TypeScript","funding_links":[],"categories":["cli"],"sub_categories":[],"readme":"# Motivation\n\nThis repository is a CLI application to feed domains into a graph database as [Neo4J](https://neo4j.com/). Once the import finish, we have an endpoint to consume that information. That data, we could consume differently but one of the uses-case would be to render that in a web page\n\n## Overview\n\n![Library Architecture](./docs/assets/arch.png)\n\nThe user interacts with CLI sending different commands to populate, update or health-check the domain library (graph db). There are two main parts in the application which are structured in different folders:\n\n- __bookmarks__: All the domains that we want to add in our library and it follows, the tree data structure.\n- __cli__: console server to interact with the database to save/delete domains. More info in [cli](./cli/README.md)\n\n## Commands\n\n\u003e __Note!__ If we change the code and we want that change will be reflected in the commands, we need to create a reproducible build: `npm run build`\n\nIf you want to have an extended info about commnad go to [cli](./cli/README.md)\n\n```bash\n# Enter in the application file\ncd cli\n# Create the files to import, topic.json and domain.json\nnpm run bushido-cli generate\n# First, import the topics in the graph DB\nnpm run bushido-cli import topic\n# and then, the domains\nnpm run bushido-cli import domain\n# EXTRA\nnpm run bushido-cli optimise-graph\nnpm run bushido-cli domain-url-check\n```\n\n## Logs\n\nWhenever we run a command, we create a log to follow the editing process in the domain graph. That `logs` we can find in __/cli/logs__","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftipogi%2Fbushido.library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftipogi%2Fbushido.library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftipogi%2Fbushido.library/lists"}