{"id":34059964,"url":"https://github.com/opensourceducation/spacememo","last_synced_at":"2026-04-05T11:32:06.562Z","repository":{"id":65526135,"uuid":"352878130","full_name":"opensourceducation/spacememo","owner":"opensourceducation","description":"A python/javascript nanolibrary for apply spaced repetition in learning purposes apps","archived":false,"fork":false,"pushed_at":"2023-01-09T08:39:45.000Z","size":2550,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-03T03:18:54.118Z","etag":null,"topics":["edtech","educational-project","learning","memory-management","microlearning","space-repetition","spaced-repetition","spaced-repetition-algorithm","srs","supermemo"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensourceducation.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}},"created_at":"2021-03-30T05:14:25.000Z","updated_at":"2025-04-18T14:48:44.000Z","dependencies_parsed_at":"2023-02-08T09:30:49.417Z","dependency_job_id":null,"html_url":"https://github.com/opensourceducation/spacememo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/opensourceducation/spacememo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceducation%2Fspacememo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceducation%2Fspacememo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceducation%2Fspacememo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceducation%2Fspacememo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensourceducation","download_url":"https://codeload.github.com/opensourceducation/spacememo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceducation%2Fspacememo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31434624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: 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":["edtech","educational-project","learning","memory-management","microlearning","space-repetition","spaced-repetition","spaced-repetition-algorithm","srs","supermemo"],"created_at":"2025-12-14T04:02:47.278Z","updated_at":"2026-04-05T11:32:06.555Z","avatar_url":"https://github.com/opensourceducation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003e spacememo \u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://games.tactic.net/wp-content/uploads/2022/05/56312_1.jpg\"\u003e\n\u003c/p\u003e\n\n\u003cp align=center\u003e📘 A python/javascript nanolibrary for apply “spaced repetition” in learning purposes apps 📙 \u003c/p\u003e\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://badge.fury.io/js/spacememo\"\u003e\u003cimg src=\"https://badge.fury.io/js/spacememo.svg\" alt=\"npm version\" height=\"18\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://github.com/opensourceducation/spacememo/actions/workflows/npm_deploy.yml/badge.svg\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://badge.fury.io/py/spacememo\"\u003e\u003cimg src=\"https://badge.fury.io/py/spacememo.svg\" alt=\"PyPI version\" height=\"18\"\u003e\u003c/a\u003e\n    \u003cimg src=\"https://github.com/opensourceducation/spacememo/actions/workflows/pip_deploy.yml/badge.svg\"\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\nForget to logical process to know when to repeat the information for the optimal learning process of the user\n\nIdeal for quizzes, micro learning, and practical exercises what requires domain\n\n\u003cbr\u003e\n\u003ch2 align=\"center\"\u003eInstallation\u003c/h2\u003e\n\u003ch4 align=\"center\"\u003ePython\u003c/h4\u003e\n\n```\npip install spacememo\n```\n\n\u003cbr\u003e\n\u003ch4 align=\"center\"\u003eJavascript\u003c/h4\u003e\n\n```\nnpm install spacememo\n```\n\n\u003cbr\u003e\n\u003ch2 align=\"center\"\u003eUsage\u003c/h2\u003e\n\u003ch4 align=\"center\"\u003ePython\u003c/h4\u003e\n\n```\nfrom spacememo import SpacedMemo\n\nlet memo = SpacedMemo()\n\n# insert new values with the id number or string of the excercise or question\nmemo.insertValue('idQuestion1');\n\n# multiple values\n[memo.insert_value(id) for id in ['id1', 'id2', 'id3']]\n\n# optionally you can config a level of previous expertise to decrease initial frecuency instead default 'beginner' value\nmemo.insert_value('id_question6', {'domain': 'medium'})\nmemo.insert_value('id_question6', {'domain': 'expert'})\n\n\n# spacememo gives the question or excersice that you need to resolve\nmemo.get_value() # returns an id\n\n# evaluate the performance in last excersice or question with a boolean result\nmemo.evaluate(False)\n\n# you can extract the data to render the order list for the user\nmemo.get_space_map()['values_queue']  # return an array of id elements\n\n# and reorder the queue if user need to\nconfig_value = memo.get_space_map().values_map\n\nmemo = SpacedMemo({\n    'values_queue': user_reorder_list,\n    'values_map': config_value\n})\n\n\n\n# or add in a persistent database and reuse in next sessions\nsaved_in_db = memo.get_space_map()  # return a config object for persistent saving\n\nmy_new_study_session = SpacedMemo(saved_in_db)\n\n\n# even you can change the default start position in queue based on your business requirements\nmemo.insert_value('idQuestion6', {'initial_position_in_queue': 0})\nmemo.insert_value('idQuestion6', {'initial_position_in_queue': 3, 'domain': 'medium'})\n```\n\n\u003cbr\u003e\n\u003ch4 align=\"center\"\u003eJavascript\u003c/h4\u003e\n\n```\nimport { SpacedMemo } from \"spacememo\"\n\nlet spacedRepetition = new SpacedMemo()\n\n// insert new values with the id number or string of the excercise or question\nspacedRepetition.insertValue('idQuestion1')\n\n// multiple values\n['id1', 'id2', 'id3'].forEach(id =\u003e spacedRepetition.insertValue(id))\n\n// optionally you can config a level of previous expertise to decrease initial frecuency instead default 'beginner' value\nspacedRepetition.insertValue('idQuestion6', {domain: 'medium'})\nspacedRepetition.insertValue('idQuestion6', {domain: 'expert'})\n\n// spacememo gives the question or excersice that you need to resolve\nspacedRepetition.getValue() // returns an id\n\n// evaluate the performance in last excersice or question with a boolean result\nspacedRepetition.evaluate(false)\n\n// you can extract the data to render the order list for the user\nspacedRepetition.getSpaceMap().values_queue     // return an array of id elements\n\n// and reorder the queue if user need to\nlet configValue = spacedRepetition.getSpaceMap().values_map\n\nspacedRepetition = new SpacedMemo({\n  values_queue: userReorderList,\n  values_map: configValue\n})\n\n// or add in a persistent database and reuse in next sessions\nlet savedInDb = spacedRepetition.getSpaceMap() // return a config object for persistent saving\n\nconst myNewStudySession = new SpacedMemo(savedInDb)\n\n// even you can change the default start position in queue based on your business requirements\nspacedRepetition.insertValue('idQuestion6', {initialPositionInQueue: 0})\nspacedRepetition.insertValue('idQuestion6', {initialPositionInQueue: 3, domain: 'medium'})\n```\n\n## The purpose of this library\n\nSpaced repetition algorithms based in queues gives lighter libraries and more easy to use\n\nAny approach that you decide to implement a spaced repetition algorithm or library is good. The important thing of spaced repetition is:\n\n- Estimulate the newest information more often than information with more domain\n- Maintenance old knowledge distant little by little to avoid forget it\n- Identify the question or skill with remember problems and review it\n\nHappy learning! 📗\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourceducation%2Fspacememo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensourceducation%2Fspacememo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourceducation%2Fspacememo/lists"}