{"id":26873978,"url":"https://github.com/cosmo-frameworks/visitorbadge","last_synced_at":"2026-05-03T17:33:29.207Z","repository":{"id":264896570,"uuid":"863221482","full_name":"cosmo-frameworks/visitorbadge","owner":"cosmo-frameworks","description":"A badge generator service to count visitors of your markdown file, made in node","archived":false,"fork":false,"pushed_at":"2026-01-31T03:50:01.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-31T18:45:57.728Z","etag":null,"topics":["counter","do","docker","docker-compose","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cosmo-frameworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-09-25T23:40:21.000Z","updated_at":"2025-03-22T13:12:13.000Z","dependencies_parsed_at":"2024-11-26T17:50:51.639Z","dependency_job_id":"c332b8e8-6576-4f68-beed-09a4183c9d58","html_url":"https://github.com/cosmo-frameworks/visitorbadge","commit_stats":null,"previous_names":["shakarr/visitorbadge","cosmo-frameworks/visitorbadge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cosmo-frameworks/visitorbadge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-frameworks%2Fvisitorbadge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-frameworks%2Fvisitorbadge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-frameworks%2Fvisitorbadge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-frameworks%2Fvisitorbadge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmo-frameworks","download_url":"https://codeload.github.com/cosmo-frameworks/visitorbadge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmo-frameworks%2Fvisitorbadge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32578650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["counter","do","docker","docker-compose","javascript","nodejs"],"created_at":"2025-03-31T09:32:25.477Z","updated_at":"2026-05-03T17:33:29.192Z","avatar_url":"https://github.com/cosmo-frameworks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visitor Badge\n\nVisitor badge is a badge generator service to count visitors of your markdown file, made in node.\n\n![visitors](https://visitorbadge.shakarzr.com/api/counter/hit/shakarzr/shakarzr?t=${Date.now()})\n\n## Example Use\n\nDefault use:\n\n```\n![visitors](https://visitorbadge.shakarzr.com/api/counter/hit/shakarzr/shakarzr)\n```\n\nYou can put it in a img tag also:\n\n```\n \u003cimg src=\"https://visitorbadge.shakarzr.com/api/counter/hit/shakarzr/shakarzr\" /\u003e\n```\n\n**NOTE: If you see that the image is not updated when visiting the page, it may be that you have cache problems with the browser, for this you can do the following**\n\n```\n \u003cimg src=\"https://visitorbadge.shakarzr.com/api/counter/hit/shakarzr/shakarzr?t=${Date.now()}\" /\u003e\n```\n\nOr\n\n```\n![visitors](https://visitorbadge.shakarzr.com/api/counter/hit/shakarzr/shakarzr?t=${Date.now()})\n```\n\n## How to deploy in local\n\nYou have to create a .env file with the following content.\n\n```\nMONGO_URI=mongodb://root:123456@localhost:7017\n\nMONGODB_USER=root\nMONGODB_PASSWORD=123456\nMONGODB_DATABASE=bbdd\nMONGODB_LOCAL_PORT=7017\nMONGODB_DOCKER_PORT=27017\n```\n\nYou can change the content of the variables to your liking, but make sure that they match the names in the docker-compose.yml file, and that the values ​​in the connection string are correct with what you have put in the mongo variables.\n\nOnce this is set up, you just need to do a ``docker-compose up -d`` and a ``npm i`` ``npm start`` to run the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo-frameworks%2Fvisitorbadge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmo-frameworks%2Fvisitorbadge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo-frameworks%2Fvisitorbadge/lists"}