gdb-easy-comments/
├── README.md # Main documentation and getting started guide
├── LICENSE # Commons Clause + MIT License
├── .gitignore # Git ignore patterns
│
├── docs/ # Documentation
│ └── api-integration.md # Detailed API integration guide
│
├── react/ # React component
│ ├── README.md # React-specific documentation
│ ├── Comments.jsx # React component implementation
│ └── Comments.css # Styles for React component
│
├── svelte/ # Svelte component
│ ├── README.md # Svelte-specific documentation
│ ├── Comments.svelte # Svelte component implementation
│ └── Comments.css # Styles for Svelte component
│
└── examples/ # Example implementations
├── simple-html/ # Basic HTML implementation
├── react-demo/ # React demo project
└── svelte-demo/ # Svelte demo project
The React implementation consists of two main files:
Comments.jsx: The main component implementationComments.css: Styling for the component
The Svelte implementation includes:
Comments.svelte: The main component with integrated stylingComments.css: Shared styles (imported by the component)
-
README.md: Main project documentation- Quick start guide
- Features overview
- License information
- Basic usage examples
-
docs/api-integration.md: Detailed API documentation- API endpoints
- Request/response formats
- Authentication information
- Rate limiting details
Each framework implementation includes its own README with:
- Installation instructions
- Usage examples
- Props documentation
- Styling guide
- Framework-specific considerations
The examples directory contains complete working implementations:
- Simple HTML: Basic embed.js implementation
- React Demo: Full React application example
- Svelte Demo: Full Svelte application example
Each example demonstrates:
- Component integration
- Styling customization
- Common use cases
- Best practices