Help Center
Welcome to the Codepit Help Center! Here you'll find answers to frequently asked questions and guidance on using our code snippet sharing platform effectively.
Quick Start: Create an account using OAuth (e.g., GitHub or Google), then share your first code snippet in under a minute!
Getting Started
Creating Your Account
Sign Up Process
- Click "Sign In" in the top navigation
- Choose either GitHub or Google OAuth
- Authorize Codepit to access your basic profile information
- Complete your profile setup
Profile Setup
- Your profile information is automatically populated from your OAuth provider
- You can customize your display name and bio in Settings
- Profile pictures are synced from your GitHub or Google account
Understanding Visibility
Public vs Private Snippets
- Public snippets are visible to everyone and appear in search results
- Private snippets are only visible to you
- You can change visibility at any time from the snippet editor
Creating and Managing Snippets
Creating Your First Snippet
- Click the 'Create Snippet' button in the navigation
- Choose your programming language from 35+ supported options
- Add your code in the Monaco Editor (VS Code-like experience)
- Write a descriptive title and optional description
- Add relevant tags to help others discover your snippet
- Choose public or private visibility
- Click 'Save' to publish your snippet
Supported Languages
Codepit supports over 35 programming languages including:
Web Technologies: JavaScript, TypeScript, HTML, CSS, SCSS/Sass, JSON, XML, YAML Backend Languages: Python, Java, C#, PHP, Ruby, Go, Rust, Kotlin, Scala System Languages: C, C++, Swift, Dart Shell & Config: Bash, Shell, Dockerfile, SQL And many more!
Using the Code Editor
Our Monaco Editor provides a familiar editing experience with:
- Syntax highlighting for all supported languages
- Multiple themes (light/dark)
- Useful keyboard shortcuts
Collections and Organization
Creating Collections
Collections help organize related snippets:
- Go to your Dashboard
- Click "Create Collection"
- Add a title and description
- Choose visibility (public/private)
- Add snippets using the "Add Snippet" button (drag-and-drop coming soon)
Tagging System
Tags help categorize and discover snippets:
Tag Categories:
- General: Basic categorization (utility, helper, example)
- Framework: React, Vue, Angular, Express, Django
- Language: JavaScript, Python, Java, etc.
- Concept: Algorithm, pattern, authentication, database
- Difficulty: Beginner, intermediate, advanced
Pro Tip: Use 2-5 relevant tags per snippet for optimal discoverability without spam.
Social Features
Likes
Like snippets that are helpful or well-written to surface useful content. (Comments, forks, and following are planned.)
Search and Discovery
Finding Snippets
Search Features:
- Text search: Search in titles, descriptions, and code content
- Language filters: Filter by specific programming languages
- Tag filters: Find snippets with specific tags
- User search: Find snippets by specific authors
Advanced Search Tips:
- Use quotes for exact phrases:
"async function"
- Combine multiple tags:
react + typescript + hooks
- Search by author:
author:username
Explore Page
The Explore page showcases:
- Trending: Most liked/viewed snippets this week
- Recent: Latest public snippets from the community
- Popular: All-time most popular snippets
- Categories: Browse by language or framework
Account Settings
Privacy Settings
Control your privacy:
- Profile visibility: Make your profile public or private
- Activity visibility: Show/hide your likes and follows
- Email preferences: Choose which notifications to receive
- Data export: Download all your snippets and data
Managing Your Content
Snippet Management:
- Edit existing snippets anytime
- Change visibility from public to private or vice versa
- Delete snippets (this cannot be undone)
- View analytics for your public snippets
Collection Management:
- Reorganize snippets within collections
- Change collection visibility settings
- Rename or delete collections
- Share collection links with others
Troubleshooting
Common Issues
Authentication Problems
- Clear your browser cache and cookies
- Try incognito/private browsing mode
- Ensure your OAuth provider account is accessible
- Contact support if issues persist
Editor Not Loading
- Check your internet connection
- Disable browser extensions temporarily
- Try a different browser
- Clear browser cache
Snippet Not Saving
- Check for syntax errors in your code
- Ensure you have a valid title
- Try refreshing the page and trying again
- Contact support with error details
Performance Issues
If the platform feels slow:
- Check your internet connection speed
- Try closing other browser tabs
- Clear browser cache and cookies
- Use the latest version of your browser
Security Note: Never share sensitive information like API keys, passwords, or personal data in public snippets.
Best Practices
Writing Quality Snippets
Code Quality:
- Write clean, readable code with proper formatting
- Add comments explaining complex logic
- Use meaningful variable and function names
- Follow language-specific best practices
- Test your code before sharing
Documentation:
- Write clear titles that describe the snippet's purpose
- Add helpful descriptions explaining what the code does
- Include usage examples when appropriate
- Mention any dependencies or requirements
Community Guidelines
Be Respectful:
- Provide constructive feedback in comments
- Give credit when forking or building upon others' work
- Report inappropriate content or behavior
- Help newcomers learn and improve
Share Quality Content:
- Focus on useful, educational snippets
- Avoid sharing broken or malicious code
- Keep snippets focused on a single concept
- Update your snippets when you find improvements
API and Integrations
Planned Features
We're working on exciting integrations:
- VS Code Extension: Import/export snippets directly from your IDE
- CLI Tool: Manage snippets from your terminal
- API Access: Programmatic access to your snippets
- Webhook Integration: Connect with your development workflow
Export Options
Currently available:
- Collection Export: Export a collection as JSON or Markdown (from the collection page)
Getting Help
Contact Support
Need additional help? We're here for you:
Community Resources
- GitHub Discussions: Connect with other users and share feedback
- Feature Requests: Suggest new features or improvements
- Bug Reports: Help us improve by reporting issues
Response Times
- Technical Issues: Typically within 24–48 hours
- Security Concerns: Prioritized
Thank you for using Codepit! We're constantly working to improve the platform. Your feedback and suggestions help us build better tools for the developer community.