Current collected state Current
Observed since 20 Oct, 17:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
0x1-templates
Official templates for the 0x1 framework
Official templates for the 0x1 framework - the ultra-minimal TypeScript⚡️Bun framework.
Install the templates package:
bun add 0x1-templates
Use with the 0x1 CLI:
0x1 new my-app --template full
0x1 new crypto-app --template crypto-dash
| Template | TypeScript | Tailwind | PWA | State Mgmt | DeFi | Size |
|---|---|---|---|---|---|---|
| minimal | ✅ | ❌ | ❌ | ❌ | ❌ | ~500KB |
| standard | ✅ | ✅ | ✅ | ✅ | ❌ | ~50MB |
| full | ✅ | ✅ | ✅ | ✅ | ❌ | ~180MB |
| crypto-dash | ✅ | ✅ | ✅ | ✅ | ✅ | ~650MB |
import { getTemplatePath, templateExists } from '0x1-templates';
// Check if template exists
if (templateExists('full')) {
const templatePath = getTemplatePath('full');
console.log(`Template located at: ${templatePath}`);
}
import { templateMetadata, getTemplateMetadata } from '0x1-templates';
// Get all template info
console.log(templateMetadata);
// Get specific template info
const fullTemplate = getTemplateMetadata('full');
console.log(fullTemplate?.features); // ['TypeScript', 'Tailwind CSS', ...]
The templates package follows the same modular approach as other 0x1 packages:
0x1-templates/
├── minimal/ # Minimal template files
├── standard/ # Standard template files
├── full/ # Full-featured template files
├── crypto-dash/ # Crypto dashboard template files
├── licenses/ # License templates (MIT, TDL, etc.)
└── src/ # Template utilities and metadata
Building the package:
cd 0x1-templates
bun run build
MIT License - see LICENSE for details.
Please see the main 0x1 repository for contribution guidelines.
Part of the 0x1 framework ecosystem:
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
0x1Environment{
"local_name": "0x1",
"alias": false,
"peer_metadata": null
} | ^0.0.193 | peer |
Source distribution
{
"integrity": "sha512-/hyX6Dh9saE570OOLF9S6ZaicR/8IftUMNhVp9x+VAe03j8c4lMiAl+w1Zf6jE1qinDZRnnLafR0jVZ4X6ur/A==",
"shasum": "11ce98542c82662480c1e50657e5e48164094963",
"tarball": "https://registry.npmjs.org/0x1-templates/-/0x1-templates-0.0.193.tgz",
"fileCount": 109,
"unpackedSize": 652301,
"signatures": [
{
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
"sig": "MEQCIGfuX5QCIGB2lZRnPcG4/JNOJ8cgkJvc99oILiuhxbgtAiAhP70024zaSgX53h0KEudnwIK2XBwfKQa/HjpzmswzKg=="
}
]
}Observed since 20 Oct, 17:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:4cfcb967d68ba6253d5253bd1fddb75e14075458b2a4b09cd6b2f62ca3c83571