WeChat mini program for short-lived neighborhood tasks.
Nearby short-lived information should be easy to confirm, update, and close.
The app has no fixed service area. Users can browse and publish tasks from any current location.
- Map-first task browsing around the user's current location and visible map region.
- Location-agnostic identity on the map, publish, profile, and admin surfaces.
- "Find one" discovery action for sparse maps, jumping to a random nearby post.
- Publish flow with category-specific guidance, lost/found direction, place, coordinate, and expiry controls.
- Publish-success sharing prompt and detail-page share metadata.
- Task detail page with comments, confirm, stale, resolve, and report actions.
- Local duplicate prevention for repeated trust actions on the same post.
- Local login, with an admin-only management tab controlled by the local admin code in
utils/config.js. - Management console for search, risk filtering, reported/stale/hidden review, user feedback, and hide/close actions.
- CloudBase-backed posts, reactions, comments, feedback, and viral attribution events when
utils/config.jscloud settings are enabled, with local mock storage fallback for development.
- Open this folder in WeChat DevTools.
- Use
project.config.json; the placeholder appid istouristappid. - Run
npm run check:jsonfor a basic config sanity check.
For local-only development, the app falls back to wx local storage. For shared user data, deploy the posts cloud function and create the posts, post_reactions, post_comments, feedback_items, viral_attribution_events, and admins collections in CloudBase.
Posts with images require CloudBase Storage. The publish flow compresses selected images, accepts up to 4 images under 1.5MB each, uploads them to CloudBase Storage, and saves only cloud:// file IDs. If the cloud upload or cloud post save is unavailable, image posts fail explicitly instead of falling back to local-only image paths.
The current version intentionally keeps the product focused: map, publish, detail, structured trust actions, and admin-lite moderation. Deferred items are tracked in TODOS.md.