{"id":24023246,"url":"https://github.com/deprecated-near/counter-as","last_synced_at":"2025-09-14T23:31:08.184Z","repository":{"id":38186877,"uuid":"248277001","full_name":"deprecated-near/counter-as","owner":"deprecated-near","description":"Increment and decrement a counter with this simple smart contract via a web page.","archived":false,"fork":false,"pushed_at":"2023-04-07T21:04:00.000Z","size":1467,"stargazers_count":33,"open_issues_count":15,"forks_count":26,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-28T22:43:50.215Z","etag":null,"topics":["assemblyscript","html","javascript"],"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/deprecated-near.png","metadata":{"files":{"readme":"README-Gitpod.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":"2020-03-18T15:56:18.000Z","updated_at":"2023-07-30T10:19:21.000Z","dependencies_parsed_at":"2024-01-13T03:14:20.069Z","dependency_job_id":"a768e40d-10e5-4236-b1f7-1e6324e67bc6","html_url":"https://github.com/deprecated-near/counter-as","commit_stats":null,"previous_names":["near-examples/counter","deprecated-near/counter-as","deprecated-near-examples/counter-as"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/deprecated-near/counter-as","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-near%2Fcounter-as","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-near%2Fcounter-as/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-near%2Fcounter-as/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-near%2Fcounter-as/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deprecated-near","download_url":"https://codeload.github.com/deprecated-near/counter-as/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-near%2Fcounter-as/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275182303,"owners_count":25419504,"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-09-14T02:00:10.474Z","response_time":75,"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":["assemblyscript","html","javascript"],"created_at":"2025-01-08T14:01:58.428Z","updated_at":"2025-09-14T23:31:08.097Z","avatar_url":"https://github.com/deprecated-near.png","language":"JavaScript","funding_links":[],"categories":["Projects"],"sub_categories":["Basics"],"readme":"Counter example in AssemblyScript - Gitpod version\n==================================================\n\nThis README is specific to Gitpod and this example. For local development, please see [README.md](README.md).\n\n## Description\n\nIn Gitpod, the counter will start automatically. Please look in the terminal for a link to follow.\n\nThis contract implements simple counter backed by storage on blockchain.\nContract in `assembly/main.ts` provides methods to increment / decrement counter and get it's current value or reset.\n\nPlus and minus buttons increase and decrease value correspondingly. When button L is toggled, counter will add or minus 10 a time. RS button is for reset. LE and RE buttons to let the robot wink to you.\n\n## To Test\n\n```\nyarn asp  # as-pect tests\nNODE_ENV=ci yarn jest # jest tests\nNODE_ENV=ci yarn test # both\n```\n\n## To Explore\n\n- `assembly/main.ts` for the contract code\n- `src/index.html` for the front-end HTML\n- `src/main.js` for the JavaScript front-end code and how to integrate contracts\n- `src/test.js` for the JS tests for the contract\n\n\n## Data collection\n\nBy using Gitpod in this project, you agree to opt-in to basic, anonymous analytics. No personal information is transmitted. Instead, these usage statistics aid in discovering potential bugs and user flow information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeprecated-near%2Fcounter-as","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeprecated-near%2Fcounter-as","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeprecated-near%2Fcounter-as/lists"}