A modern, multilingual discussion platform built with Go and SvelteKit.
- ๐ Multilingual Support: Seamless switching between English and Russian
- ๐ฌ Rich Discussions: Create threads and comments with image support
- ๐ค AI-Powered Translations: Automatic content translation using Deepseek AI
- ๐จ Modern UI: Beautiful, responsive interface built with TailwindCSS
- ๐ฑ Mobile-First: Fully responsive design that works on all devices
- ๐ Secure: Built with security best practices
- Docker and Docker Compose
- Deepseek API Key (for translations)
- Clone the repository:
git clone https://github.com/yourusername/pkoforum.git
cd pkoforum- Create a
.envfile:
DEEPSEEK_API_KEY=your_api_key_here
DEEPSEEK_URL=https://api.deepseek.com # or your custom URL- Start the application:
docker-compose up --build- Open your browser and navigate to
http://localhost
PKO Forum uses a modern tech stack:
- Backend: Go 1.24.2 with SQLite database
- Frontend: SvelteKit with TailwindCSS
- Container: Docker with multi-stage builds
- AI Integration: Deepseek API for translations
- Storage: SQLite for data, file system for uploads
pkoforum/
โโโ src/ # Frontend SvelteKit application
โโโ internal/ # Backend Go packages
โ โโโ api/ # REST API handlers
โ โโโ config/ # Configuration management
โโโ db/ # Database migrations and queries
โโโ docs/ # Documentation
โโโ static/ # Static assets
โโโ docker/ # Docker configuration
# Run backend in development mode
go run main.go# Install dependencies
npm install
# Start development server
npm run devThe application can be configured using environment variables:
| Variable | Description | Default |
|---|---|---|
| PORT | Server port | 8080 |
| DEEPSEEK_API_KEY | Deepseek API key | Required |
| DEEPSEEK_URL | Deepseek API URL | https://api.deepseek.com |
| UPLOADS_PATH | Path for uploaded files | /app/static/uploads |
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Go - Backend language
- SvelteKit - Frontend framework
- TailwindCSS - Styling
- Deepseek - AI translations
- Create a GitHub Issue
- Email: [email protected]
- User authentication and profiles
- Advanced search functionality
- API documentation with Swagger
- Real-time notifications
- Mobile applications

