Getting Started with 404
Quick start guide for new users
📑 Table of Contents
🚀 Getting Started with 404
Welcome! This guide will help you get started with 404's services quickly and easily.🌟 What is 404?
404 is a privacy-focused platform offering:- Anonymous file sharing - Upload and share files without registration
- Bookmarking service - Save and share your favorite links
- Git repository hosting - Host your code with SSH/HTTPS access
- IRC chat - Old-school chat with Tor support
- Paste service - Share code snippets and text
- Wiki pages - Create and share markdown content
All services prioritize privacy, security, and anonymity.
📁 File Sharing
Upload Your First File
- Via Web Browser:
- Visit the homepage
- Click "Choose File" or drag and drop
- Optionally set a password and expiration time
- Click "Upload"
- Copy the generated link to share
- Via Command Line:
```bash
curl -F "file=@document.pdf" https://4-0-4.io/api/upload
```
Download a File
Simply visit the URL provided after upload:https://4-0-4.io/file/abc123If password protected, you'll be prompted to enter it.
💬 IRC Chat
Connect in 3 Steps
- Install an IRC client (WeeChat, HexChat, irssi)
- Connect to the server:
```
Server: irc.4-0-4.io
Port: 6697 (SSL)
```
- Join a channel:
```
/join #general
```
That's it! No registration required to start chatting.
Quick Connect
WeeChat:/server add 404 irc.4-0-4.io/6697 -ssl
/connect 404
/join #generalHexChat:
- Add network:
irc.4-0-4.io/6697 - Enable SSL
- Connect and join
#general
🌳 Git Hosting
Browse Repositories
ssh git.4-0-4.ioThis launches an interactive TUI to explore public repositories.
Clone a Repository
git clone git@git.4-0-4.io:repository-name.gitCreate Your First Repository
- Connect to TUI:
ssh git.4-0-4.io - Select "Create Repository"
- Enter repository name
- Choose visibility (public/private)
- Push your code:
```bash
git remote add origin git@git.4-0-4.io:your-repo.git
git push -u origin main
```
📝 Paste Service
Create a Paste
Via Web:- Visit
/paste - Enter your code or text
- Select language for syntax highlighting
- Click "Create Paste"
Via API:
curl -X POST https://4-0-4.io/api/paste \
-H "Content-Type: application/json" \
-d '{"content":"print(\"Hello!\")","language":"python"}'Share a Paste
The generated URL can be shared directly:https://4-0-4.io/paste/xyz789For raw content:
https://4-0-4.io/paste/xyz789/raw🔐 Privacy & Security
Anonymous Usage
Most services work without registration:- Upload files without an account
- Join IRC without registering
- Browse public git repositories
- Create pastes anonymously
Tor Access
Access all services via Tor for maximum anonymity:# IRC Onion Address
iibkaohpbc7jizrszt7ve6tpxlnzd3osvaocv2r5wh3ojzi2trysg5id.onion
# Web Onion Address (if available)
# Contact admins for current addressBest Practices
- Use strong passwords for protected files
- Set appropriate expiration times to minimize data retention
- Don't share sensitive data in public channels or pastes
- Verify SSL certificates when connecting
- Use Tor or VPN for additional privacy
🔧 Account Features (Optional)
While you don't need an account, registering provides benefits:Create an Account
# Via web interface
# Navigate to /account and sign upBenefits
- File management - View and manage your uploads
- Longer retention - Extended expiration times
- Private repositories - Host private git repos
- Channel ownership - Register IRC channels
- Statistics - View usage stats
🛠️ Command Line Tools
File Upload Script
#!/bin/bash
# Save as ~/bin/upload
file=$1
curl -F "file=@$file" https://4-0-4.io/api/upload | jq -r '.url'Make it executable:
chmod +x ~/bin/upload
upload document.pdfPaste from Clipboard
# Linux
xclip -o | curl -X POST https://4-0-4.io/api/paste \
-H "Content-Type: application/json" \
-d "{\"content\":\"$(cat -)\"}" | jq -r '.url'
# macOS
pbpaste | curl -X POST https://4-0-4.io/api/paste \
-H "Content-Type: application/json" \
-d "{\"content\":\"$(cat -)\"}" | jq -r '.url'🆘 Getting Help
Documentation
- API Documentation - Programmatic access
- Git Server Guide - Git hosting details
- IRC Guide - IRC setup and commands
Support Channels
- IRC - Join
#helponirc.4-0-4.io - Git Issues - Report bugs via our git server
- Forum - Community discussions (if available)
Common Issues
Can't upload files?- Check file size (max 100MB)
- Ensure proper file format
- Try using API if web interface fails
IRC connection issues?
- Verify SSL is enabled
- Check firewall settings
- Try the onion address via Tor
Git authentication fails?
- Ensure SSH key is added to your account
- Check SSH agent:
ssh-add -l - Verify remote URL is correct
🎯 Next Steps
Now that you're set up:- Explore the TUI -
ssh git.4-0-4.io - Join the community - Connect to IRC and say hello
- Read the docs - Check out service-specific guides
- Share your feedback - Help us improve
📚 Additional Resources
Questions? Join #help on IRC or consult the documentation!