gist-conceal.sh

Make a gist secret by creating a new secret gist, and deleting the old one.

https://github.com/pantryf/gist-conceal.sh

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.8%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Make a gist secret by creating a new secret gist, and deleting the old one.

Basic Info
  • Host: GitHub
  • Owner: pantryf
  • License: mit
  • Language: JavaScript
  • Default Branch: main
  • Homepage:
  • Size: 10.7 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created over 2 years ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

Make a gist secret by creating a new secret gist, and deleting the old one.


```bash $ node index.js fetch --github-token --output gists.log

Fetch all public gists and save to gists.log

$ export GITHUB_TOKEN= $ node index.js fetch -o gists.log --gist-filename-match /^output-/i

Fetch all public gists, whose filename starts with "output-"

$ node index.js fetch -o gists.log --gist-description-match /OUTPUT\$/i

Fetch all public gists, whose description ends with "OUTPUT"

You can now go ahead and remove the gists you don't want to conceal in gists.log

Then, run one of the following command to conceal the remaining gists

$ node index.js conceal --input gists.log

Conceal all gists in gists.log, by creating a new secret gist, and deleting the old one

$ node index.js conceal --input gists.log -o status.log

Conceal all gists in gists.log, and save status to status.log

```



Usage

```bash $ script-gist-conceal [options]

Options:

-i, --input Input file (for conceal).

-o, --output Output file (for fetch/conceal).

--github-token GitHub token.

--github-throttle Throttle time in milliseconds.

--gist-description-match Regex to match gist description.

--gist-filename-match Regex to match gist filename.

Commands:

fetch Fetch gists matching criteria.

conceal Conceal gists by creating new secret gists.

Environment Variables:

$GITHUB_TOKEN GitHub token.

$GITHUB_THROTTLE Throttle time in milliseconds.

```



References




ORG DOI

Owner

  • Name: pantryf
  • Login: pantryf
  • Kind: organization

Exploring cutting-edge tech to drive business forward.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Sahu
    given-names: Subhajit
    orcid: https://orcid.org/0000-0001-5140-6578
title: "javascriptf/script-gist-conceal: Make a gist secret by creating a new secret gist, and deleting the old one"
version: 1.0.0
doi: 10.5281/zenodo.10142763
date-released: 2023-11-16

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 6
  • Total Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Subhajit Sahu w****7@g****m 6

Issues and Pull Requests

Last synced: 8 months ago


Dependencies

package-lock.json npm
  • @octokit/auth-token 4.0.0
  • @octokit/core 5.0.1
  • @octokit/endpoint 9.0.1
  • @octokit/graphql 7.0.2
  • @octokit/openapi-types 19.0.0
  • @octokit/plugin-paginate-rest 9.0.0
  • @octokit/plugin-request-log 4.0.0
  • @octokit/plugin-rest-endpoint-methods 10.0.1
  • @octokit/request 8.1.4
  • @octokit/request-error 5.0.1
  • @octokit/rest 20.0.2
  • @octokit/types 12.0.0
  • before-after-hook 2.2.3
  • deprecation 2.3.1
  • extra-fs 3.2.17
  • extra-sleep 1.0.20
  • is-plain-object 5.0.0
  • once 1.4.0
  • universal-user-agent 6.0.0
  • wrappy 1.0.2
package.json npm
  • @octokit/rest ^20.0.2
  • extra-fs ^3.2.17
  • extra-sleep ^1.0.20