{"id":21703518,"url":"https://github.com/zixia/ucapp","last_synced_at":"2026-04-11T07:35:26.293Z","repository":{"id":32090371,"uuid":"35662446","full_name":"zixia/ucapp","owner":"zixia","description":"A WeChat like hybrid APP build on top of UCenter Home","archived":false,"fork":false,"pushed_at":"2020-12-30T17:27:27.000Z","size":15805,"stargazers_count":1,"open_issues_count":18,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-12T05:03:07.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://17salsa.com/app","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zixia.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-15T08:20:56.000Z","updated_at":"2020-12-30T17:27:30.000Z","dependencies_parsed_at":"2022-09-11T01:21:20.629Z","dependency_job_id":null,"html_url":"https://github.com/zixia/ucapp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zixia%2Fucapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zixia%2Fucapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zixia%2Fucapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zixia%2Fucapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zixia","download_url":"https://codeload.github.com/zixia/ucapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244656183,"owners_count":20488637,"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-25T21:33:09.671Z","updated_at":"2026-04-11T07:35:21.254Z","avatar_url":"https://github.com/zixia.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [17SALSA](http://17salsa.com/app/) UCHome App [![Circle CI](https://circleci.com/gh/AKAMobi/ucapp/tree/master.svg?style=svg)](https://circleci.com/gh/AKAMobi/ucapp/tree/master)\n\n[![Stories in Ready](https://badge.waffle.io/AKAMobi/ucapp.png?label=ready\u0026title=Ready)](https://waffle.io/AKAMobi/ucapp)\n[![Circle CI](https://circleci.com/gh/AKAMobi/ucapp/tree/master.svg?style=svg)](https://circleci.com/gh/AKAMobi/ucapp/tree/master)\n[![GitHub Issues](https://img.shields.io/github/issues/AKAMobi/ucapp.svg)](https://github.com/AKAMobi/ucapp/issues)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/AKAMobi/ucapp?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n[![Browser Support](https://ci.testling.com/AKAMobi/ucapp.png)](https://ci.testling.com/AKAMobi/ucapp)\n\n* View UCApp on GitHub - https://github.com/zixia/ucapp\n* View 17salsa on [Android Market](https://play.google.com/store/apps/details?id=com.salsa17.home)\n* View 17salsa on [Apple Store](https://itunes.apple.com/cn/app/17salsa/id1019231034)\n\nSee: \u003chttps://appadvice.com/app/17salsa/1019231034\u003e\n\n## Coding style\n* JSCS: preset to google\n* JSHint\n* vim:\n * pathogen\n  * syntastic vim-js-indent vim-sensible html5.vim\n * color-theme distinguished\n\nReference: [https://github.com/showdownjs/code-style](https://github.com/showdownjs/code-style)\n\n## Semantic Versioning\n\nGiven a version number MAJOR.MINOR.PATCH, increment the:\n\n* MAJOR version when you make incompatible API changes,\n* MINOR version when you add functionality in a backwards-compatible manner, and\n* PATCH version when you make backwards-compatible bug fixes.\n\nAdditional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.\n\nReference: [http://semver.org/](http://semver.org/)\n\n## Init Project After Check Out\n1. npm install -g ionic cordova gulp ios-deploy ios-sim\n1. cd app\n1. npm install\n1. bower install\n1. ionic resources\n1. ionic browser add crosswalk\n1. ionic config build\n1. ionic platform add ios android\n1. ionic hooks add\n1. ionic add ionic-service-push\n1. ionic build ios android\n1. ionic serve --lab\n\n## Debug\n * Inspector: [Guide to Remote Debugging on iOS \u0026 Android](http://developer.telerik.com/featured/a-concise-guide-to-remote-debugging-on-ios-android-and-windows-phone/)\n * Console Log: \n```bash\nionic run android --livereload --consolelogs --serverlogs\n```\n## REST API\n```shell\ncurl -u token https://17salsa.com/api/v2/feed\n\n### API related HTTP header\n * ERROR CODE\n * X-UCAPP-CLIENT-VERSION\n * X-UCAPP-SERVER-VERSION\n * X-UCAPP-MESSAGE\n\ncommon params:\n * before/:date\n * after/:date\n * limit/:limit\n  \n/api/v2/auth\n  POST\n    /login\n      {username: $username, password: $password}\n  /logout\n  \n/api/v2/user\n  GET\n    /me - current user\n    /:id - {name, nick, sex, avatar, location, ...}\n    /:id/detail - {... ...}\n\n/api/v2/event\n  GET\n    / - lastest event id list\n    /:id - {...}\n    /:id/detail - {... ...}\n\n    /api/v2/message\n    GET\n    / {uid, date}\n    /:uid - { {date,msg}, {}, ... }\n\n    POST\n    /:uid - {msg}\n\n    /api/v2/feed\n    / - [ {...} ]\n    /api/v2/reply\n    /api/v2/like\n    /api/v2/contact\n\n    /api/v2/batch\n      POST\n      [\n        {\n          \"method\": \"POST\",\n          \"path\": \"/1.1/classes/Post\",\n          \"body\": {\n            xx: 'xx',\n            xx: 'xx'\n          }\n        },\n        {\n          \"method\": \"POST\",\n          \"path\": \"/1.1/classes/Post\",\n          \"body\": {\n            \"content\": \"\",\n            \"user\": \"\"\n          }\n        }\n      ]\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzixia%2Fucapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzixia%2Fucapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzixia%2Fucapp/lists"}