{"id":16771509,"url":"https://github.com/meysam81/submit-hackernews","last_synced_at":"2025-04-10T19:43:53.913Z","repository":{"id":247010176,"uuid":"824383995","full_name":"meysam81/submit-hackernews","owner":"meysam81","description":"Submit links to HackerNews in a Docker container image","archived":false,"fork":false,"pushed_at":"2025-03-24T17:50:01.000Z","size":119,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T11:36:06.460Z","etag":null,"topics":["container","docker","hacker-news","hackernews","hackernews-api","hackernews-client","hackernewsapi","job","scheduled-jobs","scheduled-submission","scheduled-tasks","ycombinator","ycombinator-hacker-news"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meysam81.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["meysam81"]}},"created_at":"2024-07-05T02:52:22.000Z","updated_at":"2025-03-15T11:10:17.000Z","dependencies_parsed_at":"2024-10-28T20:32:17.687Z","dependency_job_id":"112351bf-1d0c-4a1c-b40a-a555f5fd5170","html_url":"https://github.com/meysam81/submit-hackernews","commit_stats":null,"previous_names":["meysam81/submit-hackernews"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fsubmit-hackernews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fsubmit-hackernews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fsubmit-hackernews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fsubmit-hackernews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meysam81","download_url":"https://codeload.github.com/meysam81/submit-hackernews/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281424,"owners_count":21077423,"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","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":["container","docker","hacker-news","hackernews","hackernews-api","hackernews-client","hackernewsapi","job","scheduled-jobs","scheduled-submission","scheduled-tasks","ycombinator","ycombinator-hacker-news"],"created_at":"2024-10-13T06:28:18.764Z","updated_at":"2025-04-10T19:43:53.895Z","avatar_url":"https://github.com/meysam81.png","language":"Shell","readme":"# Submit HackerNews\n\n[![GitHub repo size](https://img.shields.io/github/repo-size/meysam81/submit-hackernews)](https://github.com/meysam81/submit-hackernews)\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/meysam81/submit-hackernews)](https://github.com/meysam81/submit-hackernews/commits/main/)\n[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/meysam81/submit-hackernews)](https://github.com/meysam81/submit-hackernews)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/meysam81/submit-hackernews/main.svg)](https://results.pre-commit.ci/latest/github/meysam81/submit-hackernews/main)\n[![Docker Image Version](https://ghcr-badge.egpl.dev/meysam81/submit-hackernews/latest_tag?color=%2344cc11\u0026ignore=latest\u0026label=Docker+Image+Version\u0026trim=)](https://github.com/users/meysam81/packages/container/package/submit-hackernews)\n[![Docker Image Size](https://ghcr-badge.egpl.dev/meysam81/submit-hackernews/size?color=%2344cc11\u0026tag=latest\u0026label=Docker+Image+Size\u0026trim=)](https://github.com/users/meysam81/packages/container/package/submit-hackernews)\n\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Submit HackerNews](#submit-hackernews)\n  - [Introduction](#introduction)\n  - [Usage: GitHub Actions](#usage-github-actions)\n  - [Star History](#star-history)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Introduction\n\nThis small Shell script will submit links to HackerNews. It is hugely\nbeneficial to automate the task of submission at desired schedules.\n\nTo run the script, run the following command:\n\n```bash\ndocker run \\\n  --name submit-hackernews \\\n  --rm \\\n  -e \"HACKERNEWS_USERNAME=your_username\" \\\n  -e \"HACKERNEWS_PASSWORD=your_password\" \\\n  ghcr.io/meysam81/submit-hackernews:v1 \\\n  -t \"This is the title of submission\" \\\n  -u \"https://example.com\"\n```\n\n## Usage: GitHub Actions\n\nYou can run this in a GitHub Actions workflow. Here is an example:\n\n```yaml\nname: ci\n\non:\n  workflow_dispatch:\n    inputs:\n      title:\n        description: The title of the link to submit.\n        required: true\n      url:\n        description: The URL of the link to submit.\n        required: true\n      verbose:\n        type: boolean\n        description: Verbose?\n        default: true\n\njobs:\n  submit-hackernews:\n    if: github.event_name == 'workflow_dispatch'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Submit link to Hacker News\n        uses: meysam81/submit-hackernews@v1\n        with:\n          username: ${{ secrets.HACKERNEWS_USERNAME }}\n          password: ${{ secrets.HACKERNEWS_PASSWORD }}\n          title: ${{ github.event.inputs.title }}\n          url: ${{ github.event.inputs.url }}\n          verbose: ${{ github.event.inputs.verbose }}\n```\n\n## Star History\n\n\u003ca href=\"https://star-history.com/#meysam81/submit-hackernews\u0026Timeline\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=meysam81/submit-hackernews\u0026type=Timeline\u0026theme=dark\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=meysam81/submit-hackernews\u0026type=Timeline\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=meysam81/submit-hackernews\u0026type=Timeline\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n","funding_links":["https://github.com/sponsors/meysam81"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeysam81%2Fsubmit-hackernews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeysam81%2Fsubmit-hackernews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeysam81%2Fsubmit-hackernews/lists"}