{"id":22310828,"url":"https://github.com/azarattum/vkwatcher-backend","last_synced_at":"2025-06-12T20:05:15.207Z","repository":{"id":43200394,"uuid":"231561712","full_name":"Azarattum/VKWatcher-Backend","owner":"Azarattum","description":"Back end application for collecting data.","archived":false,"fork":false,"pushed_at":"2023-10-02T20:49:00.000Z","size":1987,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T02:13:21.262Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Azarattum.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":"2020-01-03T10:07:35.000Z","updated_at":"2022-03-27T20:54:53.000Z","dependencies_parsed_at":"2025-01-30T23:29:02.572Z","dependency_job_id":"e046fee0-f882-4ea3-8186-840f90f1d17a","html_url":"https://github.com/Azarattum/VKWatcher-Backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Azarattum/VKWatcher-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FVKWatcher-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FVKWatcher-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FVKWatcher-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FVKWatcher-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azarattum","download_url":"https://codeload.github.com/Azarattum/VKWatcher-Backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azarattum%2FVKWatcher-Backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259521511,"owners_count":22870448,"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-12-03T21:16:11.075Z","updated_at":"2025-06-12T20:05:15.193Z","avatar_url":"https://github.com/Azarattum.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VK Watcher [Back End]\nBack end web application for collecting data.\n\n## Features:\n  - Watches your friends online activity\n  - Creates sessions and saves them to the database\n  - Serves your static frontend at *./public/*\n  - The data can be further analyzed in [VKWatcher-Frontend](https://github.com/Azarattum/VKWatcher-Frontend)\n### Usage:\n1) Put your [VK API Token](https://vk.com/dev/authcode_flow_user) into .env file. You may use example.env as a reference. You need \"friends\" and \"offline\" permissions for your application.\n\n2) Run the application:\n\n\t**Option 1**: Using ts-node\n\n    1) Start ts-node with *./src/index.ts* file as entry point:\n    ```sh\n    ts-node ./src/index.ts\n    ```\n\tOr run vscode's \"Launch Program\" configuration.\n\n\t**Option 2**: Using node\n    1) Make sure that all sources was compiled using webpack into *./dist/bundle.js* (look **release** npm script).\n    2) Start the script using regular node:\n    ```sh\n    node ./dist/bundle.js\n    ```\n3) Additionaly, you can create *./public* folder and put there your fontend part to be served.\n\n### Installation:\nInstall all dependencies:\n```sh\nnpm install\n```\n\n### NPM Scripts:\n| Script      | Description                                |\n| ----------- | ------------------------------------------ |\n| **release** | Creates a production build of the project  |\n| build       | Creates a development build of the project |\n\n### Utils Scripts:\n  - **Converter**: converts old JSON session format to a new database\n\n    Run:\n    ```sh\n    ts-node ./src/utils/converter.ts \u003cpath_to_sessions.json_file\u003e\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazarattum%2Fvkwatcher-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazarattum%2Fvkwatcher-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazarattum%2Fvkwatcher-backend/lists"}