{"id":31559650,"url":"https://github.com/trueblocks/trueblocks-minidapps","last_synced_at":"2026-02-16T01:45:37.651Z","repository":{"id":315340461,"uuid":"1059029301","full_name":"TrueBlocks/trueblocks-minidapps","owner":"TrueBlocks","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-28T05:22:25.000Z","size":60,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-28T07:17:26.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TrueBlocks.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-17T22:29:24.000Z","updated_at":"2025-09-28T05:22:29.000Z","dependencies_parsed_at":"2025-09-18T04:13:04.787Z","dependency_job_id":"e0043b90-444c-4fc9-8d23-8be56f37c638","html_url":"https://github.com/TrueBlocks/trueblocks-minidapps","commit_stats":null,"previous_names":["trueblocks/trueblocks-minidapps"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TrueBlocks/trueblocks-minidapps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2Ftrueblocks-minidapps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2Ftrueblocks-minidapps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2Ftrueblocks-minidapps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2Ftrueblocks-minidapps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrueBlocks","download_url":"https://codeload.github.com/TrueBlocks/trueblocks-minidapps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrueBlocks%2Ftrueblocks-minidapps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399690,"owners_count":25980332,"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-04T02:00:05.491Z","response_time":63,"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":[],"created_at":"2025-10-05T01:55:12.129Z","updated_at":"2026-02-16T01:45:37.644Z","avatar_url":"https://github.com/TrueBlocks.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrueBlocks Mini-DApps\n\nA mono-repository for TrueBlocks mini-applications with shared libraries.\n\n## Repository Structure\n\n```text\ntrueblocks-minidapps/\n├── libs/                     # Shared libraries as git submodules\n│   ├── trueblocks-sdk/      # Core SDK library (v5)\n│   └── trueblocks-dalle/    # DALL-E integration library (v2)\n├── explorer/                # TrueBlocks Explorer Wails application\n├── dalleserver/             # DALL-E API Server application\n├── bin/                     # Built binaries (created by make build)\n├── .github/workflows/       # CI/CD workflows\n├── go.work                  # Go workspace configuration\n└── Makefile                 # Build and development commands\n```\n\n## Quick Start\n\n### Prerequisites\n\n- Go 1.25.1 or later\n- Git with submodule support\n- (Optional) golangci-lint for linting\n\n### Setup\n\n1. Clone the repository with submodules:\n\n   ```bash\n   git clone --recursive https://github.com/TrueBlocks/trueblocks-minidapps.git\n   cd trueblocks-minidapps\n   ```\n\n2. If you already cloned without `--recursive`:\n\n   ```bash\n   git submodule update --init --recursive\n   ```\n\n3. Verify setup:\n\n   ```bash\n   make check\n   ```\n\n## Development Workflow\n\n### Building and Testing\n\n```bash\n# Build all applications\nmake build\n\n# Run tests across all modules\nmake test\n\n# Format code\nmake fmt\n\n# Lint code (requires golangci-lint)\nmake lint\n\n# Run specific app\nmake explorer\nmake dalleserver\n\n# Clean build artifacts\nmake clean\n```\n\n### Managing Dependencies\n\n```bash\n# Update git submodules to latest versions\nmake update-libs\n\n# Update Go dependencies in all modules\ncd libs/trueblocks-sdk \u0026\u0026 go get -u ./...\ncd libs/trueblocks-dalle \u0026\u0026 go get -u ./...\ncd explorer \u0026\u0026 go get -u ./...\ncd dalleserver \u0026\u0026 go get -u ./...\n```\n\n### Adding New Applications\n\n1. Create a new directory for your app:\n\n   ```bash\n   mkdir myapp\n   cd myapp\n   ```\n\n2. Initialize Go module with /v2 versioning:\n\n   ```bash\n   go mod init github.com/TrueBlocks/myapp/v2\n   go mod edit -go=1.25.1\n   ```\n\n3. Add to workspace:\n\n   ```bash\n   # Edit go.work and add:\n   use ./myapp\n   ```\n\n4. Create your application and import shared libraries:\n\n   ```go\n   import (\n       \"github.com/TrueBlocks/trueblocks-sdk/v5/pkg/base\"\n       \"github.com/TrueBlocks/trueblocks-dalle/v2/pkg/dalle\"\n   )\n   ```\n\n## Versioning Strategy\n\n- **Repository**: Uses `/v2` for the main repo\n- **Applications**: Each app uses `/v2` versioning (github.com/TrueBlocks/appname/v2)\n- **Libraries**:\n  - trueblocks-sdk uses `/v5`\n  - trueblocks-dalle uses `/v2`\n\n## CI/CD Pipeline\n\n### Continuous Integration\n\nThe CI pipeline runs on every push and pull request:\n\n1. **Format Check**: Ensures code is properly formatted\n2. **Lint**: Runs golangci-lint for code quality\n3. **Test**: Executes all tests across the workspace\n4. **Build**: Compiles all applications\n5. **Artifacts**: Uploads built binaries\n\n### Releases\n\n- Tag your code with `v*` pattern (e.g., `v2.1.0`)\n- GitHub Actions automatically creates a release with binaries\n- Release notes are auto-generated from commits\n\n### Dependency Updates\n\n- Dependabot automatically creates PRs for:\n  - Go module updates (weekly)\n  - GitHub Actions updates (weekly)\n  - Git submodule updates (weekly)\n\n## VS Code Configuration\n\nThe repository includes optimized VS Code settings for large workspaces:\n\n- Faster gopls performance\n- Reduced memory usage\n- Optimized for 600+ dependencies\n\n## Common Tasks\n\n### Updating Submodules\n\n```bash\n# Update to latest commits\ngit submodule update --remote\n\n# Or use the Makefile\nmake update-libs\n```\n\n### Creating a Release\n\n```bash\n# Tag the current commit\ngit tag v2.1.0\ngit push origin v2.1.0\n\n# GitHub Actions will automatically create the release\n```\n\n### Troubleshooting\n\n#### Slow VS Code Performance\n\n- VS Code settings are pre-configured for performance\n- Restart VS Code if gopls becomes unresponsive\n- Use `Go: Restart Language Server` command if needed\n\n#### Submodule Issues\n\n```bash\n# Reset submodules to clean state\ngit submodule deinit --all\ngit submodule update --init --recursive\n```\n\n#### Go Workspace Issues\n\n```bash\n# Verify workspace configuration\ngo work status\n\n# Sync workspace\ngo work sync\n```\n\n## Contributing\n\n1. Create a feature branch\n2. Make your changes\n3. Run `make check` to verify everything works\n4. Submit a pull request\n\nThe CI pipeline will automatically test your changes across all supported environments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrueblocks%2Ftrueblocks-minidapps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrueblocks%2Ftrueblocks-minidapps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrueblocks%2Ftrueblocks-minidapps/lists"}