{"id":18275756,"url":"https://github.com/davideuler/weishuku","last_synced_at":"2025-04-09T04:13:54.727Z","repository":{"id":12661636,"uuid":"15333475","full_name":"davideuler/weishuku","owner":"davideuler","description":"微书库","archived":false,"fork":false,"pushed_at":"2014-02-27T02:59:41.000Z","size":9058,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T22:32:32.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/davideuler.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}},"created_at":"2013-12-20T08:26:42.000Z","updated_at":"2023-09-02T04:29:36.000Z","dependencies_parsed_at":"2022-09-10T06:12:29.911Z","dependency_job_id":null,"html_url":"https://github.com/davideuler/weishuku","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/davideuler%2Fweishuku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davideuler%2Fweishuku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davideuler%2Fweishuku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davideuler%2Fweishuku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davideuler","download_url":"https://codeload.github.com/davideuler/weishuku/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247974731,"owners_count":21026742,"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-05T12:13:55.972Z","updated_at":"2025-04-09T04:13:54.709Z","avatar_url":"https://github.com/davideuler.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"微书库图书分享\n\n1. install flask, flask-admin\nsudo pip install sandman\nsudo pip install flask-admin\n\n2. on mongo server:\ndownload leepy.mongoose from: https://github.com/10gen-labs/sleepy.mongoose\n\n$python httpd.py --xorigin\n(支持json跨站post请求数据; 因为jsonp跨站请求时会把post自动改写成get请求，_insert数据需要用post)\n\nto start restful api service for mongo\n\n3.phonegap:\nsudo npm install -g cordova\n\n/usr/local/share/npm/lib/node_modules/cordova/bin/cordova build\n\n要在android sdk中安装 android build tools. (启动sdk/tools/android命令安装)。\n/usr/local/share/npm/lib/node_modules/cordova/bin/cordova platform add ios\n\n/usr/local/share/npm/lib/node_modules/cordova/bin/cordova build ios\n\n/usr/local/share/npm/lib/node_modules/cordova/bin/cordova run android\n\nYour need to add android sdk tools and platform-tools to PATH:\nin bash:\nexport PATH=$PATH:/data/program/adt-bundle-mac-x86_64/sdk/platform-tools/:/data/program/adt-bundle-mac-x86_64/sdk/tools/\nin fish shell:\nset PATH $PATH /data/program/adt-bundle-mac-x86_64/sdk/platform-tools/ /data/program/adt-bundle-mac-x86_64/sdk/tools/\n\n4.web :\n\n\n5.mongodb\n\nensure unique index:\ndb.book.ensureIndex( { \"isbn\": 1, \"ownername\":1 }, { unique: true } )\ndb.user.ensureIndex( { \"email\": 1}, { unique: true } )\ndb.user.ensureIndex( { \"name\": 1}, { unique: true } )\n\ndb.book.ensureIndex( { isbn: 1, ownername:1 }, { unique: true, dropDups:true})\ndb.borrowinfo.ensureIndex( { isbn: 1, ownername:1, username:1 }, { unique: true, dropDups:true})\n\n6.其他：\n豆瓣通过ISBN查找图书信息的Rest Api:\nhttps://api.douban.com/v2/book/isbn/:9787544826440\n\n\n## todos:\n1.重构\n\n2.分类\n\n3.分城市\n\n4.谁借的，借的谁的，什么时候借的，还的，预借时间。\n\n## 后续\n\n5.群组\n\n6.支持IE\n\n7.支持域账号  2014.1.24前\n\n8.到期提醒\n\n## 其他\n\n1.热门图书\n\n2.书评","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavideuler%2Fweishuku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavideuler%2Fweishuku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavideuler%2Fweishuku/lists"}