@fileverse-dev/dsheets-templates
v0.0.29
Published
A collection of templates for dsheets.
Downloads
601
Maintainers
Keywords
Readme
dSheets Templates
A comprehensive collection of templates for dSheets.new - your onchain, privacy-first Spreadsheet. This repository contains pre-built spreadsheet templates that users can import and use for various purposes like accounting, invoicing, event marketing, and more.
🎯 What are dSheets Templates?
This repository contains a curated collection of professional spreadsheet templates that can be imported into dSheets.new . Each template is carefully designed to provide a solid foundation for specific tasks, saving you time and ensuring best practices.
📁 Project Structure
dsheets-templates/
├── template-core-data/ # JSON template files
│ ├── accounting.json # Accounting spreadsheet template
│ ├── event-marketing.json # Event marketing template
│ ├── invoice.json # Invoice template
│ ├── project-metric.json # Project metrics and tracking template
│ └── social-graph.json # Social graph analysis template
├── template-metadata-list.js # Template metadata (title, description, images, etc.)
├── template-data-list.js # Template data imports and exports
├── index.js # Main entry point for the package
├── index.d.ts # TypeScript definitions
└── package.json # Package configuration🛠️ Development Setup
Prerequisites
- Node.js (version 14 or higher)
- npm or yarn package manager
Installation
- Clone the repository:
git clone https://github.com/fileverse/dsheets-templates.git
cd dsheets-templates- Install dependencies:
npm install- The project is ready to use! No build step is required as it's a simple JavaScript module.
📦 Usage
This package can be used as a dependency in other projects:
import { TEMPLATES, TEMPLATES_DATA } from "@fileverse-dev/dsheets-templates";
// Get all template metadata
console.log(TEMPLATES);
// Get specific template data
const accountingTemplate = TEMPLATES_DATA["accounting"];🎯 Available Templates
Currently, the following templates are available:
| Template | Category | Description | | ------------------- | ---------- | ---------------------------------------------------------------------------------- | | Accounting | Finance | Comprehensive accounting spreadsheet with income, expenses, and financial tracking | | Invoice | Business | Professional invoice template with client management | | Event Marketing | Marketing | Event planning and marketing campaign tracking | | Project Metric | Management | Project metrics tracking and performance analysis | | Social Graph | Analytics | Social network analysis and relationship mapping |
🤝 Contributing
We welcome contributions from the community! Here's how you can add new templates:
Adding a New Template
Create Your Template on dSheets.new
- Go to dsheets.new
- Start a new sheet and design your template
- Make sure it's well-structured and user-friendly
Export Your Template
- Once your template is complete, download it as a JSON file
- The export option is available in the dSheets.new interface
Add Template Files
- Add the downloaded JSON file to the
template-core-data/directory - Use a descriptive filename (e.g.,
my-template.json)
- Add the downloaded JSON file to the
Update Metadata
- Open
template-metadata-list.js - Add a new entry to the
TEMPLATESarray with the following structure:
- Open
{
title: "Your Template Title",
description: "A clear, concise description of what this template does",
thumbnail: "https://your-thumbnail-url.png", // 16:9 aspect ratio recommended
slug: "your-template-slug", // unique identifier (lowercase, hyphens) - this should be a unique name you assign to your template
fullImage: "https://your-full-image-url.png", // larger preview image
category: "Your Category", // e.g., "Finance", "Marketing", "Analytics"
}Update Data List
- Open
template-data-list.js - Add an import statement at the top:
import yourTemplate from "./template-core-data/your-template.json";- Add the template to the
TEMPLATES_DATAobject using the same slug you specified in template-metadata-list:
export const TEMPLATES_DATA = { // ... existing templates "your-template-slug": yourTemplate, // Use the same slug as in step 4 };Important: The slug in
template-data-list.jsmust match exactly the slug you specified intemplate-metadata-list.js. This ensures your template is properly linked between the metadata and the actual template data.- Open
Submit Your Changes
- Create a pull request with your changes
- Include a description of what your template does
- Add screenshots if possible
And that's it! Once your changes are merged, your template will be live on dSheets—congrats!
Template Guidelines
- Keep it focused: Each template should serve a specific purpose
- Make it user-friendly: Include clear labels, instructions, and examples
- Test thoroughly: Ensure your template works correctly when imported
- Provide good documentation: Include helpful descriptions and usage tips
- Use consistent formatting: Follow the existing template structure
Image Requirements
- Thumbnail: 16:9 aspect ratio, clear and representative of the template
- Full Image: Larger preview showing more detail of the template
- Format: PNG or JPG, optimized for web use
- Hosting: Use a reliable image hosting service (GitHub, CDN, etc.)
🐛 Reporting Issues
If you find a bug or have a suggestion, please:
- Check if the issue has already been reported
- Create a new issue with a clear description
- Include steps to reproduce the problem
- Add screenshots if relevant
🙏 Acknowledgments
Thanks to all contributors who have helped create and improve these templates. Your contributions make dSheets.new more useful for everyone!
Note: This repository is part of the dSheets.new ecosystem. For questions about dSheets.new itself, please visit the main application or community forums.
