{"id":15994210,"url":"https://github.com/jexp/neo4j-activity-stream","last_synced_at":"2025-03-27T08:30:48.356Z","repository":{"id":12187372,"uuid":"14789877","full_name":"jexp/neo4j-activity-stream","owner":"jexp","description":"Server extension implementation for an simple activity stream example","archived":false,"fork":false,"pushed_at":"2014-03-18T12:18:34.000Z","size":168,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-23T11:33:04.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/jexp.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}},"created_at":"2013-11-29T00:48:10.000Z","updated_at":"2014-09-15T20:15:02.000Z","dependencies_parsed_at":"2022-08-20T09:10:07.405Z","dependency_job_id":null,"html_url":"https://github.com/jexp/neo4j-activity-stream","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/jexp%2Fneo4j-activity-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-activity-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-activity-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-activity-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jexp","download_url":"https://codeload.github.com/jexp/neo4j-activity-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245809642,"owners_count":20676026,"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-10-08T07:07:15.609Z","updated_at":"2025-03-27T08:30:47.942Z","avatar_url":"https://github.com/jexp.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unmanaged Extension for Activity Aggregation\n\n## Use-Case\n\nA user wants to see all the recent activity on the boards it is following. For instance the last 20 or 50 posts.\n\nA graph model example looks like this:\n\n![](https://dl.dropboxusercontent.com/u/14493611/data_modeling_activity_stream.png)\n\n\nThe use-case can be easily represented as Cypher query like this, but unfortunately this doesn't yet perform well:\n\n````\nMATCH (head:ActivityHead)-[:NEXT*]-\u003e(activity)-[:IN_FORUM]-\u003e\n              (forum:Forum)\u003c-[:FOLLOWS]-(user:User {name: {name}}),\n              (activity)\u003c-[:WROTE]-(author:User)\nRETURN author.name, activity.message, forum.name\nLIMIT 20\n````\n\nThat's why an unmanaged extension can reach out only to those boards and posts that are relevant without touching anything else in the graph. The code in this repository encapsulates the algorithm as a single Java class and exposes it to the outside world as a Neo4j server extension.\n\n\n## Setup\n\nThe ressource has to be configured in `conf/neo4j-server.properties` as \n\n    org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.example.activity=/api \n    \nIt is then available for the front-end at the URL `http://host:7474/api/activities/{username}`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fneo4j-activity-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjexp%2Fneo4j-activity-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fneo4j-activity-stream/lists"}