{"id":15696248,"url":"https://github.com/paradite/graphpedia","last_synced_at":"2025-05-08T23:03:59.136Z","repository":{"id":21266620,"uuid":"24582304","full_name":"paradite/Graphpedia","owner":"paradite","description":":cool: :left_right_arrow: :new: Visualize relationships between terms","archived":false,"fork":false,"pushed_at":"2023-07-10T07:32:44.000Z","size":1435,"stargazers_count":7,"open_issues_count":11,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T07:40:03.969Z","etag":null,"topics":["d3","javascript","neo4j","visualization","visualize-relationships"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/paradite.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}},"created_at":"2014-09-29T06:18:54.000Z","updated_at":"2023-08-23T12:56:23.000Z","dependencies_parsed_at":"2023-02-17T20:25:13.977Z","dependency_job_id":"8d2bfe90-422e-496e-b506-5d7371e0495c","html_url":"https://github.com/paradite/Graphpedia","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/paradite%2FGraphpedia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradite%2FGraphpedia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradite%2FGraphpedia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradite%2FGraphpedia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paradite","download_url":"https://codeload.github.com/paradite/Graphpedia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243115771,"owners_count":20238810,"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":["d3","javascript","neo4j","visualization","visualize-relationships"],"created_at":"2024-10-03T19:08:31.785Z","updated_at":"2025-03-11T21:31:55.455Z","avatar_url":"https://github.com/paradite.png","language":"CSS","readme":"# Project Graphpedia\r\n\r\n#### Visualize relationships between terms\r\n#### For SoC Orbital Programme 2014\r\n\r\n![image](https://paradite.com/wp-content/uploads/2021/01/Screenshot-2021-01-16-at-7.42.46-PM.png)\r\n\r\n## Setup\r\n\r\n### neo4j\r\n+ Check that you have the correct neo4j version (2.3.12)\r\n+ deafult neo4j database url at `http://localhost:7474`\r\n+ set custom neo4j database using environmental variables `GRAPHENEDB_URL` or `NEO4J_URL`\r\n+ configuration neo4j database url in `models/term.js`\r\n\r\ndocker:\r\n\r\n```bash\r\ndocker run \\\r\n    --restart always \\\r\n    --publish=7474:7474 --publish=7687:7687 \\\r\n    --volume=$HOME/neo4j/data:/data \\\r\n    --name neo4j \\\r\n    -d \\\r\n    neo4j:2.3.12\r\n```\r\n\r\n### mongoDB\r\n+ Check that you have the correct mongoDB version (3.0.15):\r\n```\r\n$ mongod --version\r\ndb version v3.0.15\r\n```\r\n+ default mongoDB database url at `mongodb://localhost/passport_local_mongoose`\r\n+ set custom mongoDB database url using environmental variables `MONGOLAB_URI` or `MONGOHQ_URL`\r\n+ configuration of mongoDB database url in `app.js`\r\n\r\ndocker:\r\n```bash\r\ndocker run --restart always -v $HOME/mongo/db:/data/db -p 27017:27017 --name mongodb -d mongo:3.0.15\r\n```\r\n\r\n## Ops\r\n\r\n### local\r\n\r\nDB sync\r\n\r\n```bash\r\nscp -r ~/neo4j/data \u003c\u003e:~/neo4j\r\n```\r\n\r\ncode sync\r\n\r\n```bash\r\nrsync -a --exclude=node_modules/ ~/workspace/Graphpedia $SERVER_ADDRESS:~\r\n```\r\n\r\nrunning app \r\n```bash\r\ncd Graphpedia/\r\npm2 start app.js\r\n```\r\n\r\n### remote\r\n\r\nSetup MongoDB with auth\r\n\r\n```bash\r\nsudo docker run --restart always -v $HOME/mongo/db:/data/db -p 27017:27017 --name mongodb -d \\\r\n    -e MONGO_INITDB_ROOT_USERNAME=\u003c\u003e \\\r\n    -e MONGO_INITDB_ROOT_PASSWORD=\u003c\u003e \\\r\n    mongo:3.0.15\r\n```\r\n\r\nneo4j\r\n\r\n\u003e https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04\r\n\r\n```bash\r\nsudo docker run \\\r\n    --restart always \\\r\n    --publish=7474:7474 --publish=7687:7687 \\\r\n    --volume=$HOME/neo4j/data:/data \\\r\n    --name neo4j \\\r\n    -d \\\r\n    neo4j:2.3.12\r\n```\r\n\r\nrunning app\r\n\r\n```bash\r\ncd Graphpedia/\r\npm2 start app.js\r\n```\r\n\r\n## TODO List\r\n\r\n### Non-UI\r\n+ Better data-mining techniques\r\n\r\n+ Add category label for generic categories\r\n\r\n+ Abstraction of types\r\n  - Done at all levels except jade rendering\r\n\r\n+ Add a significance field for the terms for easier suggestions(terms with higher significance will appear more often)\r\n\r\n+ Featured terms (Terms with most dependencies or relationships)\r\n\r\n+ Handling of synonyms/ merging terms\r\n  - Create a separate model for synonyms and search inside this database before the terms database\r\n\r\n+ Modify algorithm to calculate the height of each term in viz panel\r\n\r\n### UI\r\n\r\n+ Prettify the graph\r\n\r\n+ Allow user to propose a relationship from an existing term to a new non-exisiting term(by typing the name of the new term)\r\n\r\n[Node.js]: http://nodejs.org/\r\n[Neo4j]: http://www.neo4j.org/\r\n[node-neo4j]: https://github.com/thingdom/node-neo4j\r\n\r\n[coffeescript]: http://www.coffeescript.org/\r\n[streamline]: https://github.com/Sage/streamlinejs\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadite%2Fgraphpedia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparadite%2Fgraphpedia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadite%2Fgraphpedia/lists"}