{"id":13574051,"url":"https://github.com/florianjs/Digital-Currency","last_synced_at":"2025-04-04T14:31:32.185Z","repository":{"id":44007688,"uuid":"234546003","full_name":"florianjs/Digital-Currency","owner":"florianjs","description":"Create your own Digital Currency with this self-hosted Web App. Check out the Demo website","archived":true,"fork":false,"pushed_at":"2022-12-11T22:10:49.000Z","size":3462,"stargazers_count":103,"open_issues_count":15,"forks_count":21,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-30T19:31:23.349Z","etag":null,"topics":["currency","mongodb","nodejs","self-hosted","tailwindcss"],"latest_commit_sha":null,"homepage":"https://tonken.glitch.me/","language":"EJS","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/florianjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":null,"patreon":"icesofty","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-01-17T12:40:05.000Z","updated_at":"2024-12-26T04:41:53.000Z","dependencies_parsed_at":"2023-01-27T07:50:27.983Z","dependency_job_id":null,"html_url":"https://github.com/florianjs/Digital-Currency","commit_stats":null,"previous_names":["florianjs/digital-currency","icesofty/digital-currency"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianjs%2FDigital-Currency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianjs%2FDigital-Currency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianjs%2FDigital-Currency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianjs%2FDigital-Currency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florianjs","download_url":"https://codeload.github.com/florianjs/Digital-Currency/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247194058,"owners_count":20899424,"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":["currency","mongodb","nodejs","self-hosted","tailwindcss"],"created_at":"2024-08-01T15:00:45.698Z","updated_at":"2025-04-04T14:31:31.842Z","avatar_url":"https://github.com/florianjs.png","language":"EJS","funding_links":["https://patreon.com/icesofty"],"categories":["EJS"],"sub_categories":[],"readme":"\n![Twitter Follow](https://img.shields.io/twitter/follow/icesofty?label=Follow\u0026style=social)     ![GitHub stars](https://img.shields.io/github/stars/Icesofty/Digital-Currency?style=social)\n\n---\n# PLEASE NOTE\n\nThis is an early version of the final Web App. \n**DEMO WEBSITE :** https://tonken.glitch.me/\n\n## Digital-Currency\n\nCreate your own private Self-Hosted Digital Currency. This Web App require MongoDB\n\n# 1 - Clone the repo \n\n```\ngit clone https://github.com/Icesofty/Digital-Currency.git\n```\n\n# 2 - Install it \n```\nnpm i \n```\n\nYou need to create a .env file into the root folder and put SECRET=YOUR_SUPER_SECRET_PHRASE_HERE in it\n\n\n# 3 - Launch it \n```\nnode app.js\nServer started at port 3000\n```\n\nAccess it on http://localhost:3000/\n\n# 4 - Customize it \n\nYou can change the demo-1.ejs and the demo-2.ejs file if you want to. If you do so, don't forget to change the content on home.ejs (Lines 130 to 145). \n\nYou can also customize your app.js : \nColor theme \n```\nconst colorTheme = 'purple';\n```\n\nDefault amount of Currency when a new user register (recommend 0) \n```\nconst defaultTokens = 50;\n```\nName and symbol of your Currency\n```\nconst nameOfYourToken = 'Tonken';\nconst tokenSymbol = 'TKN';\n```\nPublic or private currency \n```\nconst publicRegister = true;\n```\nName of your MongoDB\n```\nconst nameDB = 'tonkenDB';\n```\n\n\n## Creating Admin user\nYou need to create an Admin user. Change the value of admin: false to true on the users collection in MongoDB \n```\n{\n    \"_id\" : ObjectId(\"5e2d57b1a0c1870e6c736d16\"),\n    \"username\" : \"Icesofty\",\n    \"email\" : \"example@example.com\",\n    \"tokens\" : 50,\n    \"admin\" : true,\n    \"salt\" : \"...\",\n    \"hash\" : \"...\",\n    \"__v\" : 0\n}\n```\nYou can then access your admin panel here : http://localhost:3000/admin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianjs%2FDigital-Currency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianjs%2FDigital-Currency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianjs%2FDigital-Currency/lists"}