Management system for German Community Supported Agriculture (Solawi - Solidarische Landwirtschaft)
Solawi Manager is a web system specifically developed to assist German community supported agriculture (Solawi) in managing their crops and harvests. Built with Google Apps Script and Google Sheets, it offers a simple and effective solution for:
- Planning and monitoring crops
- Harvest management
- Current and planned crops visualization
- Cultivation area management
- Weekly production monitoring
This is an MVP (Minimum Viable Product) version that implements essential basic functionalities, with potential for expansion based on user feedback and specific cooperative needs.
- 📊 Intuitive dashboard with main metrics
- 🌿 Basic crop management (registration, monitoring, deletion)
- 📅 Planning based on German calendar weeks (KW) with:
- Cross-year planning support
- Automatic harvest year calculation
- Intelligent delay detection considering year changes
- 🏡 Cultivation site management
- 📦 Harvest registration and monitoring
- 🌡️ 7-day weather forecast with:
- Automatic location detection
- Manual search for German cities
- Temperature and weather conditions display
- Responsive weather interface
- 📱 Responsive interface for mobile devices
- Cooperative member management
- Distribution planning
- Advanced reporting
- Basic financial management
- Google Account
- Access to Google Sheets
- Updated web browser
- Spreadsheet Template:
- Access Solawi Manager Template
- Make a copy (File > Make a copy)
- Follow instructions in "Anleitung" tab
The system uses a Google Sheets spreadsheet as a database, with the following structure:
-
Anbau-Kalender:
- Main crop registry
- Contains information about crops, planting and harvest dates
- Do not alter column structure
-
Erntemengen:
- Harvest registry
- Control of harvested quantities
- Do not alter column structure
- Satze: Reserved for future implementations of technical crop details
- Do not modify the column structure in the sheets
- Do not rename or delete existing sheets
- Keep column names unchanged
- Make regular backups of your data
After receiving the template spreadsheet:
-
Make a copy of the spreadsheet (File > Make a copy)
-
In your copy:
- Access Extensions > Apps Script
- Create the following files in the editor:
- Main.gs
- Database.gs
- Utils.gs
- Index.html
- JavaScript.html
- Stylesheet.html
- Copy and paste the corresponding code from each repository file
- Click "Deploy" > "New deployment"
- Select "Web App"
- Configure:
- Description: "Solawi Manager v1"
- Execute as: "Me"
- Who has access: "Anyone"
- Click "Deploy"
- Authorize the required permissions
-
Configure the trigger:
- In the Apps Script editor, click the clock icon (Triggers)
- Click "+ Add Trigger"
- Configure:
- Function: onOpen
- Event: On open
- Event source: From spreadsheet
- Save the trigger
- After installation, open your spreadsheet
- In the top menu, click "🌱 Solawi Manager"
- Select "System öffnen"
- Start registering your crops and recording harvests
For detailed usage instructions, see our Usage Guide.
Important note: Although files are organized in folders on GitHub for better visualization, in Google Apps Script all files are created directly in the editor, without folder structure.
solawi-manager/
├── src/
│ ├── apps-script/
│ │ ├── Main.gs
│ │ ├── Database.gs
│ │ └── Utils.gs
│ └── html/
│ ├── Index.html
│ ├── JavaScript.html
│ └── Stylesheet.html
-
Frontend:
- HTML5
- CSS (Bootstrap 5.3.2)
- JavaScript
- Material Icons
- Google Fonts (Inter)
-
Backend:
- Google Apps Script
- Google Sheets as database
-
External APIs:
- OpenMeteo API (weather forecast)
- OpenStreetMap Nominatim (geolocation)
Contributions are welcome! Please read our Contribution Guide before submitting changes.
If you encounter any problems or have suggestions:
- Open an issue
- Contact: bqbreno@gmail.com
This project is licensed under the MIT License - see the LICENSE.md file for details.
Developed by Breno Queiroz
- Email: bqbreno@gmail.com
- GitHub: @queirozbreno
- LinkedIn: Breno Queiroz
This project was inspired by the agricultural planning methodology of the WirGarten movement, a German initiative that promotes and supports solidarity-based agricultural cooperatives. The system adapts and digitalizes concepts from the "Muster-Anbauplanung für Solawi" spreadsheet to facilitate cooperative management.
- User interface is in German to serve the target audience
- Code comments are in English to facilitate international collaboration