{"id":19157654,"url":"https://github.com/shybyte/tosdr2","last_synced_at":"2025-05-07T08:35:01.705Z","repository":{"id":142065850,"uuid":"27529254","full_name":"shybyte/tosdr2","owner":"shybyte","description":"A web app to submit and review points about services for http://tosdr.org","archived":false,"fork":false,"pushed_at":"2015-02-17T06:42:41.000Z","size":307,"stargazers_count":3,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T20:53:28.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shybyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-04T07:45:10.000Z","updated_at":"2024-03-03T18:39:53.000Z","dependencies_parsed_at":"2023-03-12T19:25:45.619Z","dependency_job_id":null,"html_url":"https://github.com/shybyte/tosdr2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shybyte%2Ftosdr2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shybyte%2Ftosdr2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shybyte%2Ftosdr2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shybyte%2Ftosdr2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shybyte","download_url":"https://codeload.github.com/shybyte/tosdr2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252843454,"owners_count":21812881,"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-11-09T08:41:48.487Z","updated_at":"2025-05-07T08:35:01.686Z","avatar_url":"https://github.com/shybyte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ToS;DR 2\nA web app to submit and review points about services for http://tosdr.org. \u003cbr/\u003e\nWritten in JavaScript with help of the meteor framework (https://www.meteor.com). \u003cbr/\u003e\nData is saved in a MongoDB. \u003cbr/\u003e\n\n## Current state\n\nHighly experimental, incomplete, insecure and not scalable. \u003cbr/\u003e\nBut a great start for 21 working hours :-)\n\n\n## How to start in development mode\n\nInstall meteor:\n\n```shell\ncurl https://install.meteor.com/ | sh\n```\n\nCd into the project root directory (where this README is located) and enter:\n\n```shell\nmeteor\n```\n\nOpen [http://localhost:3000] (http://localhost:3000) in your browser.\n\nYou need to sign in to see something interesting.\nYou can sign in/up yourself with the menu in the top right corner.\nEmail addresses are currently not verified and \"Forgot password ?\" does not work.\n\n## How to make a user to a moderator\n\nThe most functionality is hidden from normal users. Therefore you need to make one user to a moderator in order to see\nall functionality.\n\nFirst you need to open the mongo shell in parallel to the running meteor app.\n```shell\nmeteor mongo\n```\nThen you need to find the correct user id and add the role\n\n```javascript\ndb.users.find().pretty() // find _id\ndb.users.update({_id: 'USER_ID'},{$set: {roles: {moderator: true}}})\ndb.users.find().pretty() // should have roles attribute now\n```\nYou can get the user of the current logged in user also in the browsers console by\n\n```javascript\nMeteor.userId()\n```\n\n## Import from [tosdr-build] (https://github.com/tosdr/tosdr-build)\n\nPlease see [.tools/import.sh](.tools/import.sh)\n\n## Publish/Export\n\nAs moderator you can export (=publish) points, services and topics to the file system.\nCurrently it's written to '/tmp/tosdr'. The exported files should be compatible with\nthe one imported from tosdr-build.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshybyte%2Ftosdr2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshybyte%2Ftosdr2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshybyte%2Ftosdr2/lists"}