The official package registry for Soplang. Find, publish, and manage packages for your Soplang projects.
- 📦 Package Management: Publish, update, and remove packages
- 🔍 Package Search: Find packages by name, description, or keywords
- 📊 Package Statistics: Track downloads and popularity
- 🔐 User Authentication: Secure access with GitHub OAuth
- 🎨 Modern UI: Beautiful and responsive design with dark mode support
- Node.js 18+ and npm
- PostgreSQL 14+
- Git
-
Clone the repository:
git clone https://github.com/yourusername/soplang-hub.git cd soplang-hub
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env
Edit
.env
with your configuration. -
Set up the database:
npx prisma db push
-
Start the development server:
npm run dev
Visit http://localhost:3000
to see the application.
-
Create a
sop.toml
file in your package:[package] name = "example-package" version = "1.0.0" description = "A sample Soplang package" license = "MIT" author = "username" [dependencies] another-package = "^1.2.0"
-
Use the web interface or API to publish:
curl -X POST http://localhost:3000/api/packages \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "package=@package.tar.gz"
Use the Soplang CLI:
sop install example-package
- Fork the repository
- Create your feature branch:
git checkout -b feature/amazing-feature
- Commit your changes:
git commit -m 'Add amazing feature'
- Push to the branch:
git push origin feature/amazing-feature
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.