A minimalistic presentation website for treb-cli - a smart contract deployment tool that launches your code into the blockchain with trebuchet-like precision.
- Clean Design: Minimalistic interface focused on the tool's capabilities
- Responsive: Works on all devices
- Interactive Terminal: Animated demonstration of treb-cli commands
- Copy-to-Clipboard: Easy installation command copying
- Demo Ready: Placeholder for ASCII cinema recordings of contract deployments
- Fast Loading: Optimized static site
treb.to/
βββ index.html # Main HTML file
βββ styles.css # CSS styling
βββ script.js # JavaScript functionality
βββ README.md # This file
Edit index.html to customize the content for your specific deployment needs:
<!-- Update the hero title and description -->
<h1 class="hero-title">
<span class="gradient-text">treb-cli</span>
</h1>
<p class="hero-subtitle">
Deploy smart contracts with precision and force. A command line tool for launching your code into the blockchain with trebuchet-like accuracy.
</p><!-- Update the terminal commands and output -->
<div class="terminal-line">
<span class="prompt">$</span>
<span class="command">treb-cli deploy --network mainnet</span>
</div>
<div class="terminal-output">
<div>Compiling contracts...</div>
<div>Deploying to Ethereum mainnet...</div>
<div>Contract deployed: 0x1234...abcd</div>
</div>Modify the features section to highlight your deployment tool's capabilities:
<div class="feature-card">
<div class="feature-icon">π―</div>
<h3>Precise Deployment</h3>
<p>Deploy smart contracts with accuracy and confidence across multiple blockchain networks.</p>
</div>Update the installation methods in the installation section:
<div class="install-card">
<h3>Your Installation Method</h3>
<div class="code-block">
<code>your installation command</code>
<button class="copy-btn" onclick="copyToClipboard(this)">Copy</button>
</div>
</div>Replace the demo placeholder with your contract deployment recordings:
- Record your deployment workflow using asciinema
- Upload to asciinema or host the files yourself
- Replace the demo placeholder with the embedded player:
<div class="demo-container">
<script id="asciicast-your-id" src="https://asciinema.org/a/your-recording-id.js" async></script>
</div>- Update GitHub repository links throughout the file
- Modify the page title and meta description
- Update footer information and copyright
Edit styles.css to match your brand:
:root {
--primary-color: #your-color;
--gradient: linear-gradient(135deg, #color1 0%, #color2 100%);
/* Update other color variables */
}The website uses a modern color palette:
- Primary:
#6366f1(Indigo) - Secondary:
#f1f5f9(Slate) - Text:
#1e293b(Dark slate) - Background:
#ffffff(White) - Surface:
#f8fafc(Light slate)
- Desktop: 1200px and above
- Tablet: 768px - 1199px
- Mobile: Below 768px
- Push your code to a GitHub repository
- Go to repository Settings > Pages
- Select source branch (usually
main) - Your site will be available at
https://username.github.io/repository-name
- Connect your GitHub repository to Netlify
- Deploy automatically on every push
- Custom domain support available
- Import your GitHub repository to Vercel
- Automatic deployments and preview URLs
- Edge network for fast global delivery
Simply open index.html in your browser or use a local server:
# Using Python
python -m http.server 8000
# Using Node.js
npx serve .
# Using PHP
php -S localhost:8000For development with live reload, you can use:
# Using live-server
npm install -g live-server
live-server- Update smart contract tool details
- Customize terminal demo with real deployment commands
- Update feature descriptions for your specific blockchain support
- Add actual installation commands
- Record contract deployment demos
- Update GitHub repository links
- Customize colors to match your brand
- Add favicon
- Update meta tags for SEO
- Test on different devices
To add your deployment recordings:
-
Record your deployment workflow:
asciinema rec deployment-demo.cast # Run your treb-cli commands # treb-cli init # treb-cli compile # treb-cli deploy --network testnet # Press Ctrl+D to stop recording
-
Upload to asciinema:
asciinema upload deployment-demo.cast
-
Embed in your website:
<script id="asciicast-123456" src="https://asciinema.org/a/123456.js" async></script>
Feel free to customize this template for your smart contract deployment tool! If you make improvements that could benefit others, consider sharing them.
This template is open source and available under the MIT License.
Built for smart contract developers who value precision