{"id":13713328,"url":"https://github.com/rdeepak2002/reddit-place-clone-server","last_synced_at":"2026-01-18T06:49:27.005Z","repository":{"id":79425202,"uuid":"477549242","full_name":"rdeepak2002/reddit-place-clone-server","owner":"rdeepak2002","description":"Server application to simulate r/place","archived":false,"fork":false,"pushed_at":"2022-04-06T03:33:47.000Z","size":136,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-14T00:33:48.948Z","etag":null,"topics":["go","place","reddit","rplace"],"latest_commit_sha":null,"homepage":"https://reddit-place-clone-server.herokuapp.com/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdeepak2002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-04-04T04:30:59.000Z","updated_at":"2024-07-20T16:47:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"5006e16c-e18d-434a-a936-7a442e20e963","html_url":"https://github.com/rdeepak2002/reddit-place-clone-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdeepak2002%2Freddit-place-clone-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdeepak2002%2Freddit-place-clone-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdeepak2002%2Freddit-place-clone-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdeepak2002%2Freddit-place-clone-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdeepak2002","download_url":"https://codeload.github.com/rdeepak2002/reddit-place-clone-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252787528,"owners_count":21804278,"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":["go","place","reddit","rplace"],"created_at":"2024-08-02T23:01:32.764Z","updated_at":"2026-01-18T06:49:26.995Z","avatar_url":"https://github.com/rdeepak2002.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# Reddit Place Clone Server\n\nServer application to simulate r/place\n\n## Requirements\nGo (https://go.dev/doc/install)\n\n## Get Started\n\n1. Clone the repository\n\n```shell\ngit clone --recurse-submodules -j8 https://github.com/rdeepak2002/reddit-place-clone-server.git\n```\n\n2. Deploy a server application with this code (Heroku can directly deploy this Go project from a GitHub repository, but you need to add the submodules buildpack and Go buildpack)\n\n```shell\nheroku buildpacks:add https://github.com/dmathieu/heroku-buildpack-submodules -i 1\n```\n\n3. Create a .env file with the credentials for a Redis connection (you can get a free instance from here: https://redis.com/)\n\n```dotenv\nREDIS_ADDRESS=\"redis-xxx.com:#####\"\nREDIS_PASSWORD=\"really_long_password_string\"\nGOOGLE_AUTH_CLIENT_ID=\"xxxxx.apps.googleusercontent.com\"\n```\n\n## Example Embed in README.md\n\nAdd pixels here: https://reddit-place-clone-server.herokuapp.com/\n\nThen refresh the page and notice the image below changing (note that it is blurrier than the one present on the web application due to the lack of CSS styling in GitHub README's).\n\n\u003cimg alt=\"image\" src=\"https://reddit-place-clone-server.herokuapp.com/static/image.png\" style=\"border: dotted black; width: 300px; height: 300px; image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: crisp-edges;\"/\u003e \n\nThe above example is using the following markdown:\n\n```markdown\n\u003cimg alt=\"image\" src=\"https://reddit-place-clone-server.herokuapp.com/static/image.png\" style=\"border: dotted black; width: 300px; height: 300px; image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: crisp-edges;\"/\u003e \n```\n\n## Update Web Application Code\n\n```shell\ngit submodule update --remote \n```\n\n## Recommended Pre-Commit Git Hooks\n\nCreate a file in .git/hooks with the following content:  \n\n```shell\n#!/bin/sh\necho \"refreshing submodules\"\ngit submodule update --remote\ngit add .\n```\n\nMake the script executable with the following command:\n\n```shell\nsudo chmod 777 .git/hooks/pre-commit\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdeepak2002%2Freddit-place-clone-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdeepak2002%2Freddit-place-clone-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdeepak2002%2Freddit-place-clone-server/lists"}