{"id":23170968,"url":"https://github.com/ignatandrei/recordvisitors","last_synced_at":"2026-02-24T08:33:52.765Z","repository":{"id":47516610,"uuid":"370905992","full_name":"ignatandrei/RecordVisitors","owner":"ignatandrei","description":"Record Latest visitors for .NET Core ","archived":false,"fork":false,"pushed_at":"2021-10-29T15:52:58.000Z","size":181,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-01T04:46:13.198Z","etag":null,"topics":["asp-net-core","dotnet-core","visitors","webapi-core"],"latest_commit_sha":null,"homepage":"https://record-visitors.readthedocs.io/en/latest/","language":"C#","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/ignatandrei.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["ignatandrei"]}},"created_at":"2021-05-26T04:30:43.000Z","updated_at":"2021-10-29T15:53:02.000Z","dependencies_parsed_at":"2022-09-02T12:51:53.034Z","dependency_job_id":null,"html_url":"https://github.com/ignatandrei/RecordVisitors","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ignatandrei/RecordVisitors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRecordVisitors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRecordVisitors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRecordVisitors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRecordVisitors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignatandrei","download_url":"https://codeload.github.com/ignatandrei/RecordVisitors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FRecordVisitors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270961621,"owners_count":24675914,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asp-net-core","dotnet-core","visitors","webapi-core"],"created_at":"2024-12-18T04:15:44.715Z","updated_at":"2026-02-24T08:33:52.721Z","avatar_url":"https://github.com/ignatandrei.png","language":"C#","funding_links":["https://github.com/sponsors/ignatandrei"],"categories":[],"sub_categories":[],"readme":"\n# Record Latest visitors for .NET Core \n\n\u003cimg src=\"https://github.com/ignatandrei/RecordVisitors/raw/main/docs/rv.png\" width=\"50px\"  height=\"50px\" style=\"height: 50px; width:50px;\" /\u003e [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ignatandrei/RecordVisitors/blob/master/LICENSE)  \n[![BuildAndTest](https://github.com/ignatandrei/RecordVisitors/actions/workflows/dotnet.yml/badge.svg)](https://github.com/ignatandrei/RecordVisitors/actions/workflows/dotnet.yml) \n[![codecov](https://codecov.io/gh/ignatandrei/RecordVisitors/branch/main/graph/badge.svg?token=ur3OvnDoGh)](https://codecov.io/gh/ignatandrei/RecordVisitors)\n![Nuget](https://img.shields.io/nuget/v/recordvisitors) ![Docs](https://readthedocs.org/projects/record-visitors/badge/?version=latest)\n [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ignatandrei_RecordVisitors\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=ignatandrei_RecordVisitors)\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n\n\n# What it does\n\nThis project helps you to record what visitors have you on the site. It does not enforce [authentication](https://docs.microsoft.com/en-us/aspnet/core/security/authentication/?view=aspnetcore-5.0)\n\nYou can see the latest 5 minutes visitors by browsing to /recordVisitors/AllVisitors5Min or /recordVisitors/AllVisitors/5 \n\n# How to use it\n\n## Simple use\n\nIn Startup, \n```csharp\npublic void ConfigureServices(IServiceCollection services)\n{\n    //code omitted\n    services.AddRecordVisitorsDefault();\n    \n}\npublic void Configure(IApplicationBuilder app, IWebHostEnvironment env)\n{\n    //code omitted \n    app.UseAuthentication();\n    //put AFTER authentication\n    app.UseRecordVisitors();\n    //not necessary\n    app.UseAuthorization();\n    //code omitted\n    app.UseEndpoints(endpoints =\u003e\n    {\n        endpoints.MapControllers();\n        endpoints.UseVisitors();\n    });\n\n\n}\n\n```\n\nThen browse to /recordVisitors/AllVisitors5Min or /recordVisitors/AllVisitors/5\n\n\nYou can see also the history for the URL that the user have browsed : goto \n/recordVisitors/UserHistory/{userId}/{dateFrom:datetime:regex(\\\\d{{4}}-\\\\d{{2}}-\\\\d{{2}})}/{dateTo?}\n\n( to find the user id , you can also goto /recordVisitors/GetUserId/{userName})\n\nYou can see also the classes documentation at https://ignatandrei.github.io/RecordVisitors/RecordVisitors/\n\n\n## Customizable uses\n\nThere are several interfaces that you can implement via DI\n\n\n| Name                                                        | Description                                            |\n| ----------------------------------------------------------- | ------------------------------------------------------ |\n| [IRecordVisitorFunctions](IRecordVisitorFunctions/index.md) | how to indentify the user                              |\n| [IRequestRecorded](IRequestRecorded/index.md)               | request of the user                                    |\n| [IUserRecorded](IUserRecorded/index.md)                     | the user recorded interface to store data              |\n| [IUsersRepository](IUsersRepository/index.md)               | the connection to the storage( database, csv , others) |\n\n\n\nThe project comes with his implementation - however, you can add yours.\n\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://msprogrammer.serviciipeweb.ro/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/153982?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAndrei Ignat\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/ignatandrei/RecordVisitors/commits?author=ignatandrei\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/ignatandrei/RecordVisitors/commits?author=ignatandrei\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\nAlso, thanks to the people that made this possible by created frameworks and libraries - see the list here\n\nhttps://github.com/ignatandrei/RecordVisitors/blob/main/src/RecordVisitors/thanks.md\n\n## Links\n\n- Project homepage: https://github.com/ignatandrei/RecordVisitors \n- Code Coverage: https://codecov.io/gh/ignatandrei/RecordVisitors \n- Results of tests in BDD format : https://record-visitors.readthedocs.io/en/latest/BDD/LightBDDReport/ \n- Code analysis: https://sonarcloud.io/dashboard?id=ignatandrei_RecordVisitors\n- Repository: https://github.com/ignatandrei/RecordVisitors/\n- Issue tracker: https://github.com/ignatandrei/RecordVisitors/issues\n- Documentation: https://record-visitors.readthedocs.io/en/latest/ \n- Blog: http://msprogrammer.serviciipeweb.ro/category/recordvisitors/ \n\n## Licence\n\nThe code in this project is licensed under MIT license.\nYou can find the licences for the packages used at https://github.com/ignatandrei/RecordVisitors/blob/main/src/RecordVisitors/licenses.txt ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Frecordvisitors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignatandrei%2Frecordvisitors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Frecordvisitors/lists"}