{"id":22511713,"url":"https://github.com/zeroxthreef/greenit","last_synced_at":"2026-02-13T18:31:26.673Z","repository":{"id":179796174,"uuid":"173654494","full_name":"zeroxthreef/greenit","owner":"zeroxthreef","description":"Reddit ripoff that isn't very functional. Terrible obvious pun name","archived":false,"fork":false,"pushed_at":"2019-04-24T17:54:38.000Z","size":289,"stargazers_count":4,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-08T02:47:15.912Z","etag":null,"topics":["pike","reddit-clone","scriptrunner"],"latest_commit_sha":null,"homepage":"https://greenit.vertesine.com/","language":"Pike","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeroxthreef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-03-04T01:45:11.000Z","updated_at":"2024-08-10T01:13:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bca99d8-f9ad-4dbf-b83b-7fbb270927fc","html_url":"https://github.com/zeroxthreef/greenit","commit_stats":null,"previous_names":["zeroxthreef/greenit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeroxthreef/greenit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroxthreef%2Fgreenit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroxthreef%2Fgreenit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroxthreef%2Fgreenit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroxthreef%2Fgreenit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeroxthreef","download_url":"https://codeload.github.com/zeroxthreef/greenit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroxthreef%2Fgreenit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["pike","reddit-clone","scriptrunner"],"created_at":"2024-12-07T02:13:46.004Z","updated_at":"2026-02-13T18:31:26.657Z","avatar_url":"https://github.com/zeroxthreef.png","language":"Pike","funding_links":[],"categories":[],"sub_categories":[],"readme":"# greenit\n\n![greenit logo](https://raw.githubusercontent.com/zeroxthreef/greenit/master/src/html/img_res/greenit.png)\n\nBad reddit clone experiment. Only reason it exists is to learn Pike \u0026 Pike ScriptRunner.\n\n## Installation\n\nYou need to have installed ![pike_redis_client](https://github.com/dressupgeekout/pike_redis_client) and ![pike scriptrunner](https://github.com/hww3/scriptrunner).\n\n(you might need to use my fork of pike redis client that uses unix domain sockets)\n\nPut those both in your ``/usr/local/lib/pike8.0/modules`` folder.\n\nVERY IMPORTANT: you will need to add the standard letsencrypt stuff to the nginx .conf file if you wanna listen to any other port than 8000 and also ssl.\n\nOnce you've taken care of that, run the ``src/install.sh`` script (as root) and restart nginx.\n\nYou will also need to modify the Pike ScriptRunner SCGI script and remove the first line, then replace it with ``#!/usr/bin/pike``. Rename that pike script file to ``ScriptRunner_SCGI.pike``, and move it to ``/usr/local/bin``.\n\nOne thing to note about configuration: SELECT 2 is hardcoded into 3 files. Globally (for psp files) the util.psp file contains a constant for this and the login.pike and logout.pike files also contain this constant. There would only be one file for this, but scriptrunner has some limitations that required this solution.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroxthreef%2Fgreenit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeroxthreef%2Fgreenit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroxthreef%2Fgreenit/lists"}