A Modern Pastebin
cbin.lol
A modern, secure pastebin for sharing code snippets with Discord integration
Secure Syntax Highlighting Easy Sharing Privacy Options
example.js
const
createPaste = async (content) => {
try {
const response = await fetch('/api/pastes', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ content })
});
const data = await response.json();
return data;
} catch (error) {
console.error("Error creating paste:", error);
}
}
Powerful Features
Everything you need for efficient code sharing and collaboration in one place
Syntax Highlighting
Automatic language detection and syntax highlighting for over 60 programming languages.
Privacy Options
Create private pastes and choose to post anonymously for enhanced privacy.
Easy Sharing
Share your code snippets with a simple link or QR code for mobile access.
Expiry Control
Set custom expiration times for your pastes, from 1 day to 1 year.
Raw Mode
Access your code in raw format for easy copying and integration.
Discord Integration
Sign in with Discord to manage your pastes and collaborate with others.