{"id":16634923,"url":"https://github.com/ruochuan12/sticky-notes","last_synced_at":"2025-10-26T07:39:30.786Z","repository":{"id":123045204,"uuid":"96010636","full_name":"ruochuan12/sticky-notes","owner":"ruochuan12","description":"基于原生JS、webpack4构建的一个可拖拽的便签（sticky-notes）练手小项目，欢迎使用和star ^_^","archived":false,"fork":false,"pushed_at":"2018-11-16T13:19:44.000Z","size":527,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T13:22:31.324Z","etag":null,"topics":["es6","gulp","localstorage","sticky-notes","webpack4"],"latest_commit_sha":null,"homepage":"https://lxchuan12.github.io/sticky-notes/dist/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruochuan12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-07-02T08:14:43.000Z","updated_at":"2021-05-28T07:02:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"9afc64fb-2f1c-4ff1-94fa-213254fde012","html_url":"https://github.com/ruochuan12/sticky-notes","commit_stats":null,"previous_names":["ruochuan12/sticky-notes"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ruochuan12/sticky-notes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruochuan12%2Fsticky-notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruochuan12%2Fsticky-notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruochuan12%2Fsticky-notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruochuan12%2Fsticky-notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruochuan12","download_url":"https://codeload.github.com/ruochuan12/sticky-notes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruochuan12%2Fsticky-notes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281074241,"owners_count":26439421,"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-10-26T02:00:06.575Z","response_time":61,"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":["es6","gulp","localstorage","sticky-notes","webpack4"],"created_at":"2024-10-12T05:49:29.834Z","updated_at":"2025-10-26T07:39:30.771Z","avatar_url":"https://github.com/ruochuan12.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### sticky-notes 便签\n\n[点击预览本项目](https://lxchuan12.github.io/sticky-notes/dist?_blank \"点击预览本项目\")\n\n其中`master`，`dev`分支是使用`webpack4`构建。[点击查看`dev`分支](https://github.com/lxchuan12/sticky-notes/tree/dev \"点击查看`dev`分支\")\n\n`gh-pages`分支是使用`gulp`构建。[点击查看`gh-pages`分支](https://github.com/lxchuan12/sticky-notes/tree/gh-pages \"点击查看`gh-pages`分支\")\n\n[点击查看参考的项目效果](https://webkit.org/demos/sticky-notes?_blank \"点击查看参考的项目效果\")\n\n\n#### TODO 功能点\n\n- [x] 1、创建、删除、移动、删除便签\n\n- [x] 2、把便签内容保存到`localstorage`\n\n- [x] 3、清除所有便签\n\n- [x] 4、拖拽范围限制在可视区\n\n- [x] 5、改用webpack4 构建\n\n- [x] 6、加入less、eslint、babel等\n\n- [x] 7、加入husky依赖，precommit 钩子校验\n\n#### How to use\n```\n// 安装依赖\nnpm install\n\n// 启动编写代码\nnpm run dev\n\n// 本地开发访问：`http://localhost:1200`\n\n// `eslint` 格式化文件\nnpm run lint:fix\n\n// 打包发布\nnpm run build\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruochuan12%2Fsticky-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruochuan12%2Fsticky-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruochuan12%2Fsticky-notes/lists"}