chrisreddington/Hugo Crossposter
This is a work in progress .NET Core Console App to ease cross posting from Hugo to alternate formats.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| directoryPath | Directory path of the content to be converted and crossposted. | yes | — |
| recursiveSubdirectories | Boolean (True/False) on whether Recursive Subdirectories should be used for file access | yes | false |
| originalPostInformation | Boolean (True/False) on whether the details of the original post (date/time, and canonical URL) should be included in the rendered markdown. | no | false |
| logPayloadOutput | Boolean (True/False) on whether the output of the payload should also be outputted in the logs. | no | false |
| searchPattern | The search string to match against the names of files in path. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesnt support regular expressions. Defaults to *.md. | no | *.md |
| baseUrl | Base URL of the website, not including protocol. e.g. www.cloudwithchris.com. This is used for converting any relative links to the original source, including the canonical URL. | yes | www.cloudwithchris.com |
| devtoToken | DevTo Integration Token. This is required if crossposting to DevTo, as it forms part of the URL for the API Call. | no | — |
| devtoOrganization | DevTo Organization. This is not required. If you are posting as a user and want to associate the post with an organization, enter the organization ID (not username) here. | no | — |
| mediumAuthorId | Medium Author ID. This is required if crossposting to medium, as it forms part of the URL for the API Call. | no | — |
| mediumToken | Medium Integration Token. This is required to authorize to the Medium API. | no | — |
| protocol | Protocol used on the website. Options are either HTTP or HTTPS. This is used for converting any relative links to the original source, including the canonical URL. | no | — |
Outputs
no outputs