{"id":46841866,"url":"https://github.com/mtib/newlapse","last_synced_at":"2026-03-10T13:17:09.935Z","repository":{"id":57587723,"uuid":"46189534","full_name":"mtib/newlapse","owner":"mtib","description":"Linux Chronolapse replacement","archived":false,"fork":false,"pushed_at":"2020-05-16T19:25:34.000Z","size":23,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T12:38:07.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/mtib.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":"2015-11-14T19:48:14.000Z","updated_at":"2022-01-22T06:22:23.000Z","dependencies_parsed_at":"2022-09-26T19:42:30.082Z","dependency_job_id":null,"html_url":"https://github.com/mtib/newlapse","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mtib/newlapse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fnewlapse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fnewlapse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fnewlapse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fnewlapse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtib","download_url":"https://codeload.github.com/mtib/newlapse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtib%2Fnewlapse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30334419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"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":[],"created_at":"2026-03-10T13:17:06.716Z","updated_at":"2026-03-10T13:17:09.919Z","avatar_url":"https://github.com/mtib.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NewLapse\nThis replaces chronolapse on linux\n\n## Usage\n```bash\nnewlapse -capture -rate 10 -folder \"recording\"\nnewlapse -crop -folder \"recording\"\nnewlapse -convert -fps 20\n```\nYou can also do the following\n```bash\nnewlapse -ccc -rate 5 -fps 10 -folder \"tmp\"\n```\nwhich will capture a picture of the screen every 5 seconds, and save it in the ./tmp folder.\nif you CTRL+C it will start cropping the pictures and convert each screen into a mp4 file.\n\nOn a mac with retina display you will need to write a config file. First you have to figure out how big the ```screencapture``` pictures are. In my case 2800x1800. Then you ```echo \"2800x1800+0+0\" \u003e config.txt\"```. When cropping you just provide ```newlapse -crop -config \"config.txt\"```.\n\n### Help Text\n```\n$ newlapse -help\nUsage of newlapse:\n  -capture\n    \ttells newlapse to capture\n  -ccc\n    \tequals '-capture -crop -convert'\n  -convert\n    \ttells newlapse to convert %%ds folders to videos\n  -crop\n    \ttells newlapse to crop\n  -folder string\n    \twhich folder to do something with (default \"./capture\")\n  -fps int\n    \tffmpeg framerate for videos (default 20)\n  -rate int\n    \tseconds to wait between scrots (default 10)\n  -config string\n    \tconfig to read screensetup from for cropping (default \"nil\")\n```\n### Examples\n```\ncapturing into folder: ./capture\n3.616E+05 byte/sec = 361.619 kb/sec = 0.362 mb/sec\n2.170E+07 byte/min = 21697.140 kb/min = 21.697 mb/min\n1GB of storage will be filled in 46.09 Minutes\npicture #0000000001 taken\npicture #0000000002 taken\npicture #0000000003 taken\npicture #0000000004 taken\npicture #0000000005 taken\npicture #0000000006 taken\npicture #0000000007 taken\npicture #0000000008 taken\n^C\ncropping folder: ./capture\nstart cropping (~8 files)\ncompleted cropping\nstart ffmpeg conversion #1\nstart ffmpeg conversion #2\nstart ffmpeg conversion #3\ncompleted conversion\n```\n\n\n\n## Requirements:\n\n| Program        | Usage          | Operating System |\n|:---------------|:---------------|:-----------------|\n| scrot          | screenshot     | Linux            |\n| imagemagick    | crop           | Linux, OSX       |\n| ffmpeg         | convert        | Linux, OSX       |\n| screencapture  | screenshot     | OSX              |\n\n```\n# Linux:\nsudo apt-get install scrot ffmpeg imagemagick\n\n# OSX:\nbrew update \u0026\u0026 brew install ffmpeg imagemagick\n\n# Both:\ngo get -u github.com/mtib/newlapse\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtib%2Fnewlapse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtib%2Fnewlapse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtib%2Fnewlapse/lists"}