{"id":26022980,"url":"https://github.com/agrison/monmet","last_synced_at":"2026-04-19T17:33:05.423Z","repository":{"id":20257053,"uuid":"23529868","full_name":"agrison/MonMet","owner":"agrison","description":"Sauve les horaires du Met' à tes arrêts, consulte-les facilement.","archived":false,"fork":false,"pushed_at":"2015-07-21T10:50:54.000Z","size":10812,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-16T07:13:10.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://monmet.dageeks.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agrison.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-01T03:46:32.000Z","updated_at":"2024-04-16T07:13:10.725Z","dependencies_parsed_at":"2022-09-18T23:50:55.128Z","dependency_job_id":null,"html_url":"https://github.com/agrison/MonMet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrison%2FMonMet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrison%2FMonMet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrison%2FMonMet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrison%2FMonMet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agrison","download_url":"https://codeload.github.com/agrison/MonMet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242194607,"owners_count":20087616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-06T10:37:40.306Z","updated_at":"2026-04-19T17:33:05.380Z","avatar_url":"https://github.com/agrison.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"MonMet\n======\n\n## MonMet\n\nMonMet is a free mobile application that let user saves the time tables of his favorite bus stops\nand have a quick look on them whenever he wants.\n\nThe application is composed of:\n\n* A mobile application using ionic framework\n* A backend using spring boot and redis.\n\n## Screenshots\n\n![Home page](src/main/resources/public/pic1.png) ![Bus stop view](src/main/resources/public/pic2.png)\n\n## Dependencies\n\n* Java 8\n* Maven 3+\n* Redis\n* ionic framework\n* Tesseract (`brew install tesseract`) + Tesseract4j\n* GhostScript (`brew install ghostscript`)\n\n## Running the Backend\n\nRun redis\n```\nredis-server\n```\n\nInit redis\n```\ncat src/main/resources/init.redis | redis-cli -x\n```\n\nRun the backend\n```\nmvn package\nnohup java -jar target/MonMet*.jar \u0026\n```\n\nRun the app on your computer\n```\ncd MonMet \u0026\u0026 ionic serve\n```\n\nRun the app on your device\n```\ncd MonMet \u0026\u0026 ionic run android\nor\ncd MonMet \u0026\u0026 ionic run ios\n```\n\n## REST API\n\n| Method  | Path                                                 | Description                                                |\n|:-------:| ---------------------------------------------------- | -----------------------------------------------------------|\n|   GET   | /api/lines                                           | Get the available lines bus lines.                         |\n|   GET   | /api/lines/{lineId}                                  | Get the available heads (directions) for a specific line   |\n|   GET   | /api/lines/{lineId}/{head}                           | Get the available stops for a specific line and head       |\n|   GET   | /api/tt/{lineId}/{head}/{stopId}?stopName={stopName} | Get the timetable for a specific line, head and stop       |\n|   GET   | /api/coords/{lineId}/{stopName}                      | Get the coordinates for a specific stop of a bus line.     |\n\n\n## Sample JSON\n\n#### GET `/api/lines`\n\n```json\n{\n    \"Mettis\": [\n        {\n            \"id\": \"998\",\n            \"name\": \"A\",\n        },\n        {\n            \"id\": \"999\",\n            \"name\": \"B\",\n        }\n    ],\n    ...\n}\n```\n\n#### GET `/api/lines/{lineId}`\n\n```json\n[\n    \"CITE U\",\n    \"MATERNITE\",\n    ...\n]\n```\n\n\n#### GET `/api/lines/{lineId}/{head}`\n\n```json\n[\n    {\n        \"id\": \"21327\",\n        \"name\": \"REPUBLIQUE\",\n    },\n    {\n        \"id\": \"31329\",\n        \"name\": \"CITE U\",\n    },\n    ...\n]\n```\n\n\n#### GET `/api/tt/{lineId}/{head}/{stopId}?stopName={stopName}(\u0026timestamp={timestamp})`\n\n```json\n{\n    \"week\": [\n        \"05:18\",\n        \"05:36\",\n        \"06:10\",\n        \"06:28\",\n        \"06:43\",\n        ...\n    ],\n    \"saturday\": [\n        \"05:18\",\n        \"05:36\",\n        \"06:06\",\n        \"06:36\",\n        ...\n    ],\n    \"sunday\": [\n        \"05:18\",\n        \"06:36\",\n        \"07:12\",\n        \"08:05\",\n        \"08:35\",\n        ...\n    ],\n    \"nextRides\": [\n        \"19:06\",\n        \"19:16\",\n        \"19:26\"\n     ]\n}\n```\n\n#### GET `/api/coords/{lineId}/{stopName}`\n\n```json\n{\n    \"lat\": 49.121565,\n    \"lon\": 6.175176\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrison%2Fmonmet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagrison%2Fmonmet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrison%2Fmonmet/lists"}