{"id":13671099,"url":"https://github.com/burakson/sherlogjs","last_synced_at":"2025-04-27T14:33:05.343Z","repository":{"id":18211144,"uuid":"21346861","full_name":"burakson/sherlogjs","owner":"burakson","description":"JavaScript error and event tracker application.","archived":false,"fork":false,"pushed_at":"2015-11-19T02:21:20.000Z","size":487,"stargazers_count":474,"open_issues_count":5,"forks_count":38,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-19T17:57:54.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/burakson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-30T10:00:39.000Z","updated_at":"2025-02-11T21:31:13.000Z","dependencies_parsed_at":"2022-09-04T16:20:29.868Z","dependency_job_id":null,"html_url":"https://github.com/burakson/sherlogjs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakson%2Fsherlogjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakson%2Fsherlogjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakson%2Fsherlogjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakson%2Fsherlogjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burakson","download_url":"https://codeload.github.com/burakson/sherlogjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251154281,"owners_count":21544472,"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-02T09:00:59.024Z","updated_at":"2025-04-27T14:33:04.963Z","avatar_url":"https://github.com/burakson.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/burakson/sherlogjs/blob/images/sherlog-logo.png?raw=true\" alt=\"Sherlogjs\"\u003e\n\u003c/p\u003e\n\n# Sherlog.js\nJavaScript error and event tracker application.\n\n## Features\n  - Tracks JavaScript errors\n  - Tracks faulty ajax requests\n  - Tracks custom events\n  - Reporting dashboard\n  - Lightweight tracking framework (~2KB Minified)\n\n## Prerequisites\n  - Node\n  - Npm\n  - Bower\n  - Gulp\n  - MongoDB\n\n## Screenshots\n![Dashboard Page](https://github.com/burakson/sherlogjs/blob/images/screenshot1.png?raw=true \"Dashboard Page\")\n![Tracking Details Page](https://github.com/burakson/sherlogjs/blob/images/screenshot2.png?raw=true \"Details Page\")\n\n\n## Installation\n```\n$ git clone git://github.com/burakson/sherlogjs.git\n$ cd sherlogjs\n$ npm install \u0026\u0026 bower install\n```\n\n## Configuration \u0026 Usage\n- Copy `config/config.json.example` in `config/config.json` and configure the application\n- Hit `gulp` to prepare the framework\n- Start the server:\n\n  ```$ npm start```\n- Add the following script into your web document before any other `\u003cscript\u003e` tag\n```\n\u003cscript src=\"sherlog.min.js\" data-environment=\"production\"\u003e\u003c/script\u003e\n```\n- Done! Sherlog is now tracking errors.\n\n#### API\nSherlog provides a public method for event tracking as shown in the below examples.\n\n```\nSherlog.push( String/Object , callback )\n```\n\n**Example 1:**\n\n```javascript\nSherlog.push({\n    username: 'John Doe',\n    age: 35,\n    action: 'Clicked on an image'\n}, function() {\n    // event tracking pixel is fired.\n});\n```\n\n**Example 2:**\n```javascript\nSherlog.push('User has clicked to the button', function() {\n    // event tracking pixel is fired.\n});\n```\n\n## License\n[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Burak Son](http://twitter.com/burakson)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburakson%2Fsherlogjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburakson%2Fsherlogjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburakson%2Fsherlogjs/lists"}