{"id":30593332,"url":"https://github.com/codesignal/learn_cosmo-activities-web","last_synced_at":"2026-04-03T18:01:41.864Z","repository":{"id":311654483,"uuid":"1042710309","full_name":"CodeSignal/learn_cosmo-activities-web","owner":"CodeSignal","description":"Web variants of the mobile activites","archived":false,"fork":false,"pushed_at":"2026-03-31T15:32:29.000Z","size":674,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-31T17:39:44.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeSignal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-22T12:59:06.000Z","updated_at":"2026-03-31T15:32:04.000Z","dependencies_parsed_at":"2025-08-25T20:32:03.412Z","dependency_job_id":"76e7396b-a5e7-4000-a588-dc93e707ab4f","html_url":"https://github.com/CodeSignal/learn_cosmo-activities-web","commit_stats":null,"previous_names":["codesignal/learn_cosmo-activities-web"],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/CodeSignal/learn_cosmo-activities-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_cosmo-activities-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_cosmo-activities-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_cosmo-activities-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_cosmo-activities-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeSignal","download_url":"https://codeload.github.com/CodeSignal/learn_cosmo-activities-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeSignal%2Flearn_cosmo-activities-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31368156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-29T18:12:54.323Z","updated_at":"2026-04-03T18:01:41.841Z","avatar_url":"https://github.com/CodeSignal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cosmo Activities Web\n\nAn interactive web-based learning platform that supports multiple types of educational activities. Intended to bring mobile activities to the web experience. Built with vanilla JavaScript and Node.js, this platform provides engaging ways to practice and assess knowledge through different interactive formats.\n\n## Features\n\n### Activity Types\n\n- **🎯 Swipe Left or Right**: Tinder-style interface for categorizing statements or concepts\n- **📝 Fill in the Blanks**: Interactive forms for completing educational content\n- **📦 Sort into Boxes**: Drag-and-drop interface for organizing items into categories\n- **▦ Matrix**: Table of row labels with one radio choice per row across defined columns (see `data/examples/matrix.md` and `matrix.md`)\n\n## Getting Started\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone \u003crepository-url\u003e\ncd learn_cosmo-activities-web\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Start the server:\n```bash\nnpm start\n```\n\n4. Open your browser and navigate to:\n```\nhttp://localhost:3000\n```\n\n## Project Structure\n\n```\nlearn_cosmo-activities-web/\n├── data/                     # Activity content and results\n│   ├── question.md          # Current activity definition\n│   ├── answer.md            # Stored activity results\n│   └── examples/            # Example activity formats\n│       ├── fill-in-the-blanks.md\n│       ├── matrix.md\n│       ├── sort-into-boxes.md\n│       └── swipe-left-right.md\n├── public/                  # Frontend assets\n│   ├── index.html          # Main HTML file\n│   ├── app.js              # Main application logic\n│   ├── styles.css          # Application styles\n│   └── modules/            # Activity-specific modules\n│       ├── fib.js          # Fill-in-the-blanks functionality\n│       ├── sort.js         # Sort-into-boxes functionality\n│       └── swipe.js        # Swipe functionality\n├── server.js               # Node.js server\n├── package.json            # Dependencies and scripts\n└── README.md              # This file\n```\n\n## Creating Activities\n\nActivities are defined using Markdown files with a specific format. Place your activity definition in `data/question.md`.\n\n## API Endpoints\n\n- `GET /api/activity` - Retrieves the current activity from `data/question.md`\n- `POST /api/results` - Saves activity results to `data/answer.md`\n\n## Development\n\nThe application uses vanilla JavaScript with ES6 modules. The server automatically serves files from the `public` directory and provides API endpoints for activity management.\n\n### Key Components\n\n- **app.js**: Main application orchestrator\n- **modules/swipe.js**: Handles swipe-based interactions\n- **modules/fib.js**: Manages fill-in-the-blank activities\n- **modules/sort.js**: Implements sorting functionality\n- **server.js**: Express-like HTTP server with markdown parsing\n\n## Dependencies\n\n- **marked**: Markdown parsing library for activity content\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesignal%2Flearn_cosmo-activities-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesignal%2Flearn_cosmo-activities-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesignal%2Flearn_cosmo-activities-web/lists"}