https://github.com/devidw/hashnode-gh-src-new

Bash Script to automatically create new hashnode .md article files with frontmatter

https://github.com/devidw/hashnode-gh-src-new

Science Score: 13.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.6%) to scientific vocabulary

Keywords

article articles bash bash-script bash-scripting cli hashnode makdown
Last synced: 4 months ago · JSON representation

Repository

Bash Script to automatically create new hashnode .md article files with frontmatter

Basic Info
  • Host: GitHub
  • Owner: devidw
  • Language: Shell
  • Default Branch: main
  • Homepage:
  • Size: 1.85 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
article articles bash bash-script bash-scripting cli hashnode makdown
Created about 4 years ago · Last pushed about 4 years ago
Metadata Files
Readme

README.adoc

= Bash Script to automatically create new hashnode `.md` article files with frontmatter

You can use the shell script `new` to auto generate boilterplate article `.md` files, when you publish on hashnode from a GitHub source.

== Installation
. Download the `new` script
. Make it executable
[source, bash]
----
chmod +x ./new
----

== Configuration
Configuration is doen by changing variable values inside `new`.

=== Domain
Specify your hashnode domain (custom domain or hashnode subdomain)
[source, bash]
----
domain="xn--david-9u04d.to"
----

=== Cover
Specify a default cover image URL
[source, bash]
----
cover="https://david.wolf.gdn/media/cover.png"
----

== Usage
Simply run the script, this will gnerate a new `.md` file with frontmatter in the directory the script is located.

[source, bash]
----
./new
----

The file name will follow the format of `YYYY-MM-DD_.md`. For example: `2021-12-31_.md`.

NOTE: Spaces are not allowed in hashnode source files, when you are publishing from a GitHub source on Hashnode, use underscores instead.

You can optionaly pass a date to the script by passing it as argument:
[source, bash]
----
./new 2021-11-28
----

Owner

  • Name: David Wolf
  • Login: devidw
  • Kind: user
  • Location: The Zone

// uncommenting

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 23
  • Total Committers: 1
  • Avg Commits per committer: 23.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
devidwolf 6****w 23

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels