Welcome content, example scripts, and templates for BoringCDN users.
This repository contains the default welcome content that new BoringCDN users receive when they sign up. It also includes comprehensive examples and templates to help you get started with BoringCDN.
- index.html & style.css - BoringCDN user guide with upload examples
When you sign up for BoringCDN, a "welcome" content item is automatically created with the files from this repository. You can:
- View your welcome page immediately (check your dashboard for the URL)
- Edit the files through the dashboard
- Replace them with your own content
- Use the API to automate deployments
Upload files to BoringCDN using the API with a tar.gz archive:
# Create archive from your build directory
tar -czf dist.tar.gz -C ./dist .
# Upload to BoringCDN
curl -X POST https://boringcdn.com/api/v1/upload \
-H "Authorization: Bearer $BORINGCDN_TOKEN" \
-F "file=@dist.tar.gz" \
-F "content_id=$BORINGCDN_CONTENT_ID"
# Clean up
rm dist.tar.gz- Create an API token at https://boringcdn.com/settings
- Set your environment variables:
export BORINGCDN_TOKEN="your-token-here" export BORINGCDN_CONTENT_ID="your-content-id"
- Use the upload examples in index.html
Important: Only file uploads support API token authentication. Content management operations (create content, list content, delete content) must be done through the web dashboard.
Found a bug or have a suggestion? Contributions are welcome!
- Fork the repository
- Create a branch (
git checkout -b feature/your-feature-name) - Make your changes - Keep changes focused and test locally
- Commit (
git commit -m "Brief description") - Push and create a pull request
- Improve the welcome page design or accessibility
- Enhance the upload script with better error handling
- Fix typos or improve documentation
- Add examples for other build systems or CI/CD platforms
Shell Scripts:
- Use
set -efor error handling - Validate all inputs
- Provide helpful error messages
HTML/CSS:
- Use semantic HTML5 elements
- Mobile-first approach
- Maintain consistent indentation
Before submitting, test your changes locally and verify documentation is updated.
MIT License - See LICENSE for details.
- BoringCDN - Main BoringCDN repository
- Documentation - Full API documentation
- Create an issue in this repository
- Check the BoringCDN documentation
- Visit boringcdn.com