{"id":13403828,"url":"https://github.com/huynhsamha/dontpad","last_synced_at":"2025-03-14T08:32:22.605Z","repository":{"id":45841953,"uuid":"127866363","full_name":"huynhsamha/dontpad","owner":"huynhsamha","description":"[DEPRECATED] Advanced Dontpad. Online editor without Identity","archived":true,"fork":false,"pushed_at":"2022-12-04T04:46:24.000Z","size":35342,"stargazers_count":63,"open_issues_count":0,"forks_count":23,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-07-31T19:42:13.016Z","etag":null,"topics":["dontpad","heroku","herokuapp","mlab","mongodb","nodejs","react","socket-io"],"latest_commit_sha":null,"homepage":"https://dontpad.herokuapp.com/","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/huynhsamha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://paypal.me/harisk305"]}},"created_at":"2018-04-03T07:10:19.000Z","updated_at":"2023-09-13T12:42:58.000Z","dependencies_parsed_at":"2023-01-24T00:03:29.242Z","dependency_job_id":null,"html_url":"https://github.com/huynhsamha/dontpad","commit_stats":null,"previous_names":[],"tags_count":4,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynhsamha%2Fdontpad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynhsamha%2Fdontpad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynhsamha%2Fdontpad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynhsamha%2Fdontpad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huynhsamha","download_url":"https://codeload.github.com/huynhsamha/dontpad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221449562,"owners_count":16823613,"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":["dontpad","heroku","herokuapp","mlab","mongodb","nodejs","react","socket-io"],"created_at":"2024-07-30T19:01:35.176Z","updated_at":"2024-10-25T18:32:43.436Z","avatar_url":"https://github.com/huynhsamha.png","language":"JavaScript","funding_links":["https://paypal.me/harisk305"],"categories":["JavaScript"],"sub_categories":[],"readme":"# dontpad\n\n## DEPRECATED\n\n**Recently Heroku has stopped providing free deployment, and I don't have time to maintain this project anymore.**\n\n**If you need to retrieve the information that you have saved on https://dontpad.herokuapp.com, you can contact me via email huynhha12798@gmail.com with subject \"[dontpad] ...\", I will resend that content from the database.**\n\n**Sorry for the inconvenience.**\n\n---\n\nAdvanced Dontpad - Editor online without identity\n\nDeploy on Heroku App: [https://dontpad.herokuapp.com/](https://dontpad.herokuapp.com/)\n\nExamples:\n\n- [https://dontpad.herokuapp.com/github.com](https://dontpad.herokuapp.com/github.com)\n- [https://dontpad.herokuapp.com/python](https://dontpad.herokuapp.com/python)\n\n## Features\n\n- Don't login, just use a URL\n- Don't save, any changes is auto-saved\n- Format font-style, font-family, font-size, color\n- Format paragraph, headings, code, align, list\n- Insert link, image, table, video, file, symbol\n- Support familiar and utility shortcut\n- Support render to HTML code, Preview and Print\n- Realtime, don't refresh page when your friends change\n- Private, Security and No Advertising\n\n## Introduciton\n\n### Frontend Platforms\n\nUsing ReactJS, Socket.IO (realtime), Froala Editor\n\n### Backend Platforms\n\nUsing NodeJS, Socket.IO (realtime)\n\n### Database and Deployment\n\nUsing Heroku (Host, Domain), MongoDB (mongoose), Mongo Atlas (Cloud)\n\n## Quickstart\n\n- Clone source code to your local\n\n```bash\ngit clone https://github.com/huynhsamha/dontpad.git\n```\n\n- Install npm packages\n\n```bash\nnpm i\n# or\nyarn\n```\n\n### Development\n\n#### Start server NodeJS\n\nAt root of project\n\n```bash\nnpm start\n# or\nyarn start\n```\n\nNow server is running on http://localhost:4200\n\n#### Start client ReactJS\n\nAt root of project\n\n```bash\ncd client/\n\nnpm start\n# or\nyarn start\n```\n\nNow we can open browser at http://localhost:3000.\n\n#### Database MongoDB\n\nAt root of project\n\n```bash\ntouch .env\n```\n\nCreate file `.env` with the following line:\n\n```bash\nURI_MONGO=mongodb://localhost/dontpad\n```\n\nChange the URI Mongo for your production\n\n### Testing and Deployment\n\nAt root of project, run server NodeJS at port 4200:\n\n```bash\ncd client/\n\n### build frontend reactjs\nnpm run build\n# or\nyarn build\n\n### start server nodejs\n# return to root of project\ncd ..\n\nnpm start\n# or\nyarn start\n```\n\nOn your browser, open http://localhost:4200 to view the dontpad application\n\n## Deploy on Heroku\n\n### Configure on Heroku\n\n- Login or sign up new account on heroku\n- Add new application\n- At local, create new directory for heroku\n- Copy directory server to the above directory\n- Remove `.git` in new directory\n- At new directory, initialize new git by `git init`\n- At heroku, create new git for app\n- Install heroku at local machine (if you haven't done yet)\n- Login heroku account at local machine: `heroku login` (if you haven't done yet)\n- Remote local to heroku by `git remote add heroku [your git url]`\n\n### Configure database MongoDB on Mongo Atlas\n\n- Login or sign up new account on Mongo Atlas\n- Create new cluster and new database\n- In the options (collections, users, ...) in tabs at new database, choose option users\n- Create a new user with difficult password\n- Get uri mongo on Atlas and change `\u003cdbuser\u003e` and `\u003cdbpassword\u003e` with new user created.\n- Copy the uri to file `.env` at local directory\n- Now you can commit and deploy to heroku\n\n### Commit and Deploy\n\n- Commit all changes and deploy to heroku:\n\n```bash\ngit status\ngit add -A\ngit commit -m \"first deploy\"\ngit push heroku master\n```\n\n- Now, you can open the herokuapp to view your achievement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuynhsamha%2Fdontpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuynhsamha%2Fdontpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuynhsamha%2Fdontpad/lists"}