{"id":4661,"url":"https://github.com/maxs15/react-native-screcorder","last_synced_at":"2025-09-10T07:39:01.457Z","repository":{"id":34351853,"uuid":"38273597","full_name":"maxs15/react-native-screcorder","owner":"maxs15","description":"A \u003cRecorder /\u003e element for react-native","archived":false,"fork":false,"pushed_at":"2023-10-26T20:26:14.000Z","size":215,"stargazers_count":233,"open_issues_count":16,"forks_count":55,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-09-05T17:39:09.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/maxs15.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-29T22:02:57.000Z","updated_at":"2024-03-21T10:49:09.000Z","dependencies_parsed_at":"2024-12-07T08:40:56.431Z","dependency_job_id":null,"html_url":"https://github.com/maxs15/react-native-screcorder","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/maxs15/react-native-screcorder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxs15%2Freact-native-screcorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxs15%2Freact-native-screcorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxs15%2Freact-native-screcorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxs15%2Freact-native-screcorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxs15","download_url":"https://codeload.github.com/maxs15/react-native-screcorder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxs15%2Freact-native-screcorder/sbom","scorecard":{"id":629947,"data":{"date":"2025-08-11","repo":{"name":"github.com/maxs15/react-native-screcorder","commit":"ad532ee0dd828fd7cf5a99e15da5e4d42b12074d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 6/24 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T07:35:36.350Z","repository_id":34351853,"created_at":"2025-08-21T07:35:36.350Z","updated_at":"2025-08-21T07:35:36.350Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274427533,"owners_count":25283221,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-01-05T20:17:19.440Z","updated_at":"2025-09-10T07:39:01.398Z","avatar_url":"https://github.com/maxs15.png","language":"Objective-C","funding_links":[],"categories":["Components"],"sub_categories":["Media"],"readme":"# react-native-screcorder\n\nA react native component to capture pictures and record Video with Vine-like tap to record, animatable filters, slow motion, segments editing.  \nBased on this awesome library [SCRecorder](https://github.com/rFlex/SCRecorder).\n\n## Getting started\n\n1. `npm install react-native-screcorder@latest --save`\n2. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`\n3. Go to `node_modules` ➜ `react-native-screcorder` and add `RNRecorder.xcodeproj`\n4. In XCode, in the project navigator, select your project. Add `libRNRecorder.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`\n5. Click `RNRecorder.xcodeproj` in the project navigator and go the `Build Settings` tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for `Header Search Paths` and make sure it contains both `$(SRCROOT)/../react-native/React` and `$(SRCROOT)/../../React` - mark both as `recursive`.\n5. Run your project (`Cmd+R`)\n\n## Example\nCheck [index.ios.js](https://github.com/maxs15/react-native-screcorder/blob/master/Example/index.ios.js) in the Example folder.\n\n## Properties\n\n#### `config`\n\nConfigure the recorder\nSee below the full options available:\nThe filters are applied on the saved video\n\n```javascript\n{\n  autoSetVideoOrientation: false,\n\n  video: {\n    enabled: true,\n    bitrate: 2000000, // 2Mbit/s\n    timescale: 1, // Higher than 1 makes a slow motion, between 0 and 1 makes a timelapse effect\n    format: \"MPEG4\",\n    quality: \"HighestQuality\", // HighestQuality || MediumQuality || LowQuality\n    filters: [\n      {\n        \"CIfilter\": \"CIColorControls\",\n        \"animations\": [{\n          \"name\": \"inputSaturation\",\n          \"startValue\": 100,\n          \"endValue\": 0,\n          \"startTime\": 0,\n          \"duration\": 0.5\n        }]\n      },\n      {\"file\": \"b_filter\"},\n      {\"CIfilter\":\"CIColorControls\", \"inputSaturation\": 0},\n      {\"CIfilter\":\"CIExposureAdjust\", \"inputEV\": 0.7}\n    ]\n  },\n  audio: {\n    enabled: true,\n    bitrate: 128000, // 128kbit/s\n    channelsCount: 1, // Mono output\n    format: \"MPEG4AAC\",\n    quality: \"HighestQuality\" // HighestQuality || MediumQuality || LowQuality\n  }\n};\n```\n\n#### `device`\n\nValues: \"front\" or \"back\"\nSpecify wihich camera to use\n\n#### `flashMode`\nValues: \"SCFlashModeOff\", \"SCFlashModeOn\", \"SCFlashModeAuto\", \"SCFlashModeLight\"\n(Access constants as Recorder.constants.SCFlashModeOn, etc...)\nSCFlashModeLight is \"TorchMode\", all others are self explanatory\n\n#### `onNewSegment`\n\nWill call the specified method when a new segment has been recorded\n\n\n## Component methods\n\nYou can access component methods by adding a `ref` (ie. `ref=\"recorder\"`) prop to your `\u003cRecorder\u003e` element, then you can use `this.refs.recorder.record()`, etc. inside your component.\n\n#### `capture(callback)`\nCapture a picture\n\n#### `record()`\nStart the recording of a new segment\n\n#### `pause()`\nStop the recording of the segment\n\n#### `save(callback)`\nGenerate a video with the recorded segments, if filters have been specified in the configuration they will be applied\n\n#### `removeLastSegment()`\nRemove the last segment\n\n#### `removeAllSegments()`\nRemove all the segments\n\n#### `removeSegmentAtIndex(index)`\nRemove segment at the specified index\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxs15%2Freact-native-screcorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxs15%2Freact-native-screcorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxs15%2Freact-native-screcorder/lists"}