Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Tide MCP
Aplicación de pronóstico de marea con Fastapi Backend y Flutter Frontend
0
Github Watches
0
Github Forks
0
Github Stars
Tide MCP
A cross-platform app for tides, moon phases, and fishing/hunting predictions. Now supports learning any town/location selected by users.
Version: 1.2.9
Built with:
- Backend: FastAPI (Python) + SQLite (locations.db)
- Frontend: Flutter (Dart)
Getting Started
Backend Setup (FastAPI)
-
Navigate to the backend directory:
cd backend -
Create and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activate -
Install dependencies:
pip install -r requirements.txt -
Configure environment variables:
- Copy
.env.sampleto.envand add any required API keys or settings.
- Copy
-
Start the backend server:
uvicorn main:app --reload
Frontend Setup (Flutter)
-
Navigate to the frontend directory:
cd frontend -
Install Flutter dependencies:
flutter pub get -
Run the app:
flutter run
Testing
- The app now supports robust widget testing using a test-only parameter (
initialLoading) inTideHomePagefor modern, testable UI state injection. - To run tests:
flutter test
Changelog Automation
- The changelog (CHANGES.md) is automatically generated from commit history using
git-cliff. - To update the changelog, run:
(Requires./scripts/update_changelog.shgit-cliffto be installed. See git-cliff releases.)
Versioning Automation
- The project version is stored in the
VERSIONfile and in the README. - To bump the version:
- For a major release:
./scripts/bump_version.sh major - For a new feature:
./scripts/bump_version.sh minor - For a fix:
./scripts/bump_version.sh patch
- For a major release:
- This will update both the
VERSIONfile and the version in the README.
Features
- Location learning: Select any town/location and it will be stored for future lookups.
- Tide, moon, and prediction data are shown only after a location is selected.
- SQLite database for local location storage.
- Modern testability patterns for Flutter frontend.
Changelog
- 1.2.9: Fix: Added assets/VERSION to pubspec.yaml and moved VERSION file to assets directory so app version is loaded and displayed dynamically in the app bar and MaterialApp title.
- 1.2.8: Bugfix: The "week at a glance" feature now appears immediately after a location is selected, without needing to refresh. This was fixed by ensuring fetchAll() is called after location selection, not just for today data.
- 1.2.7: Refactor: Removed all references to towns.json and stations.json. The backend now uses a default station for manual/geocoded locations.
- 1.2.6: Fixed: Tide data is now displayed after entering a manual location and pressing enter. The UI now shows tide data for both database and manual/geocoded locations.
- 1.2.4: Fixed: Manual location entry now works when hitting return/enter in the location field. Users can now enter any location and immediately fetch tide data by pressing enter.
-
1.2.2: Locations not in the database are now selectable and return estimated tides using the nearest NOAA station. Backend API returns an
estimatedflag and source station info for non-database locations. -
1.2.1: Added testable constructor to
TideHomePagefor robust widget testing. All tests now pass reliably. Updated docs for modern testability. - 1.2.0: Switched to SQLite for locations, improved UI/UX, added location learning.
相关推荐
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Carbon footprint calculations breakdown and advices on how to reduce it
Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!
Text your favorite pet, after answering 10 questions about their everyday lives!
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Este repositorio es para el desarrollo del servidor Azure MCP, llevando el poder de Azure a sus agentes.
🤖 COLECCIÓN Repos, herramientas, sitios web, documentos y tutoriales prácticos de IA. 实用的 ai 百宝箱 💎
AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need
🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.
Reviews
user_QIOqpBr0
As a dedicated user of tide-mcp, I can confidently say that this product by philiplawlor has exceeded my expectations. The user-friendly interface and comprehensive features make it a must-have for anyone in need of quality MCP applications. Highly recommended!