|
|
4 months ago | |
|---|---|---|
| .cursor/rules | 5 months ago | |
| .github/workflows | 1 year ago | |
| android | 4 months ago | |
| assets | 5 months ago | |
| doc | 4 months ago | |
| ios | 4 months ago | |
| public | 10 months ago | |
| scripts | 5 months ago | |
| src | 4 months ago | |
| sw_scripts | 11 months ago | |
| test-playwright | 5 months ago | |
| test-scripts | 7 months ago | |
| .browserslistrc | 3 years ago | |
| .env.development | 5 months ago | |
| .env.production | 5 months ago | |
| .env.staging | 5 months ago | |
| .eslintrc.js | 5 months ago | |
| .gitignore | 4 months ago | |
| BUILDING.md | 4 months ago | |
| CHANGELOG.md | 5 months ago | |
| CONTRIBUTING.md | 1 year ago | |
| Dockerfile | 5 months ago | |
| Gemfile | 8 months ago | |
| Gemfile.lock | 7 months ago | |
| LICENSE | 11 months ago | |
| README.md | 5 months ago | |
| TASK_storage.md | 5 months ago | |
| build.sh | 6 months ago | |
| capacitor.config.json | 5 months ago | |
| index.html | 6 months ago | |
| package-lock.json | 4 months ago | |
| package.json | 4 months ago | |
| pkgx.yaml | 5 months ago | |
| playwright.config-local.ts | 7 months ago | |
| playwright.config.ts | 10 months ago | |
| postcss.config.js | 3 years ago | |
| project.task.yaml | 2 years ago | |
| requirements.txt | 5 months ago | |
| sw_combine.js | 2 years ago | |
| tailwind.config.js | 3 years ago | |
| tsconfig.electron.json | 5 months ago | |
| tsconfig.json | 5 months ago | |
| tsconfig.node.json | 6 months ago | |
| vite.config.capacitor.mts | 8 months ago | |
| vite.config.common.mts | 5 months ago | |
| vite.config.dev.mts | 8 months ago | |
| vite.config.electron.mts | 5 months ago | |
| vite.config.mts | 8 months ago | |
| vite.config.pywebview.mts | 8 months ago | |
| vite.config.ts | 5 months ago | |
| vite.config.utils.mts | 8 months ago | |
| vite.config.web.mts | 5 months ago | |
README.md
TimeSafari.app - Crowd-Funder for Time - PWA
Time Safari allows people to ease into collaboration: start with expressions of gratitude and expand to crowd-fund with time & money, then record and see the impact of contributions.
Roadmap
See project.task.yaml for current priorities. (Numbers at the beginning of lines are estimated hours. See taskyaml.org for details.)
Setup & Building
Quick start:
- For setup, we recommend pkgx, which installs what you need (either automatically or with the
devcommand). Core dependencies are typescript & npm; when building for other platforms, you'll need other things such as those in the pkgx.yaml & BUILDING.md files.
npm install
npm run dev
See BUILDING.md for more details.
Tests
See TESTING.md for detailed test instructions.
Icons
Application icons are in the assets directory, processed by the capacitor-assets command.
To add a Font Awesome icon, add to main.ts and reference with font-awesome element and icon attribute with the hyphenated name.
Other
Reference Material
-
Notifications can be type of
toast(self-dismiss),info,success,warning, anddanger. They are done via notiwind and set up in App.vue. -
If you are deploying in a subdirectory, add it to
publicPathin vue.config.js, eg:publicPath: "/app/time-tracker/",
Code Organization
The project uses a centralized approach to type definitions and interfaces:
src/interfaces/- Contains all TypeScript interfaces and type definitionsdeepLinks.ts- Deep linking type system and Zod validation schemasgive.ts- Give-related interfaces and type definitionsclaims.ts- Claim-related interfaces and verifiable credentialscommon.ts- Shared interfaces and utility types- Other domain-specific interface files
Key principles:
- All interfaces and types are defined in the interfaces folder
- Zod schemas are used for runtime validation and type generation
- Domain-specific interfaces are separated into their own files
- Common interfaces are shared through
common.ts - Type definitions are generated from Zod schemas where possible
Kudos
Gifts make the world go 'round!
- WebStorm by JetBrains for the free open-source license
- Máximo Fernández for the 3D code and explanatory post
- Many tools & libraries such as Nodejs.org, IntelliJ Idea, Veramo.io, Vuejs.org, threejs.org
- Bush 3D model
- Forest floor image
- Time Safari logo assisted by DALL-E in ChatGPT
- DiceBear and Avataaars for human-looking identicons
- Some gratitude prompts thanks to Develop Good Habits