{"id":21452916,"url":"https://github.com/demystifyfp/org","last_synced_at":"2025-03-17T02:44:44.639Z","repository":{"id":97206631,"uuid":"195242929","full_name":"demystifyfp/org","owner":"demystifyfp","description":"Org Website","archived":false,"fork":false,"pushed_at":"2019-07-05T04:49:50.000Z","size":2367,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T12:32:31.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/demystifyfp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-04T13:03:07.000Z","updated_at":"2019-07-05T04:49:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"45be95a0-5b09-4105-8670-4b891f2c6e08","html_url":"https://github.com/demystifyfp/org","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/demystifyfp%2Forg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demystifyfp%2Forg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demystifyfp%2Forg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/demystifyfp%2Forg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/demystifyfp","download_url":"https://codeload.github.com/demystifyfp/org/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965356,"owners_count":20375912,"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":[],"created_at":"2024-11-23T04:33:02.857Z","updated_at":"2025-03-17T02:44:44.619Z","avatar_url":"https://github.com/demystifyfp.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# org\n\nEasily create a webpage with your organization's open source projects\n\n## Overview\n\n`org` is a Clojure(Script) project that allows you to quickly bootstrap a website with your organization's open source projects.\nIt generates a prerendered static website with all the repository information, as well as fetching the latest data and updating\nitself when the user visits the page.\n\n## Creating your own site\n\nFirst and foremost, ensure you have [Leiningen](http://leiningen.org) and [Sass](http://sass-lang.com) installed.\n\n### Clone the repository\n\nClone this repository to a local directory (`my-org` in our example):\n\n```sh\n$ git clone https://github.com/47deg/org.git my-org\n$ cd my-org\n```\n\nYou'll want to configure the repo to point at your organization repo:\n\n```sh\n$ git remote rm origin\n$ git remote add origin https://github.com/my-org/my-org.github.io.git\n```\n\nSince organization pages must be the content of the `master` branch, you may want to create another\nbranch for hosting the \"raw\" website:\n\n```sh\n$ git checkout -b raw\n$ git push -u origin raw\n```\n\n### Edit the configuration\n\nFor creating your own site you simple have to provide a configuration file under `resources/config.edn`. The file uses [edn syntax](https://github.com/edn-format/edn)\nand its pretty straightforward, here is an example with the defaults:\n\n```clojure\n{:organization \"47deg\"\n :logo {:src \"img/logo.png\"\n        :href \"http://47deg.com\"}\n :links [{:text \"Blog\" :href \"http://47deg.com/blog\"}\n         {:text \"Contact\" :href \"mailto:hello@47deg.com\"}]\n :social {:twitter \"47deg\"\n          :facebook \"47degreesLLC\"}\n :languages #{\"Scala\" \"Clojure\" \"Java\" \"Swift\"}\n :included-projects #{\"macroid\"\n                      \"fetch\"\n                      \"sbt-microsites\"\n                      \"scalacheck-datetime\"\n                      \"github4s\"\n                      \"org\"\n                      \"sbt-catalysts-extras\"\n                      \"sbot\"\n                      \"freestyle\"\n                      \"mvessel\"\n                      \"case-classy\"\n                      \"second-bridge\"}\n :project-logos {\"fetch\" \"https://rawgit.com/47deg/microsites/cdn//fetch/navbar_brand.png\"\n                 \"mvessel\" \"https://rawgit.com/47deg/microsites/cdn//mvessel/navbar_brand.png\"\n                 \"github4s\" \"https://rawgit.com/47deg/microsites/cdn//github4s/navbar_brand.png\"\n                 \"scalacheck-datetime\" \"https://rawgit.com/47deg/microsites/cdn//scalacheck-datetime/navbar_brand.png\"}\n :token-name \"an-env-variable-with-a-github-api-key\"\n :analytics \"a-google-analytics-token\"\n :footer {:acknowledgment true}\n :style {:primary-color \"#F44336\"\n         :header {:background \"linear-gradient(0deg, rgba(30, 39, 53, 0.88), rgba(30, 39, 53, 0.88)), url(\\\"../img/header-background.jpg\\\") no-repeat center center\"}\n         :font {:url \"https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Poppins:300,400\"\n                :base \"'Open sans', sans-serif\"\n                :headings \"'Poppins', sans-serif\"\n                :sizes {:light 300\n                        :regular 400\n                        :semi-bold 600\n                        :bold 700}}}}\n```\n\nLet's break it down:\n\n- `:organization` is the name of your org in GitHub\n- `:organization-name` is the human-readable name of your org. `:organization` will be used if not provided.\n- `:logo` is a map with the source URL (`:src`) of your org logo and where it should link to (`:href`), optionally with \n   the styles for the `img` tag (`:style`)\n- `:links` is a vector with maps that containt link text (`:text`) and href (`:href`)\n- `:social` is a map for specifying the handles in different social networks\n + `:twitter` contains your organization's Twitter handle (without the @)\n + `:facebook` contains your organization's Facebook handle\n + `:linkedin` contains your LinkedIn handle\n- `:languages` is the set with the languages you are interested in filtering by\n- `:included-projects` is the set with the projects you are interested in having on the site\n- `:extra-repos` allows you to add extra repos out of the org (maps with `:user` and `:repo`)\n- `:project-logos` is a map from project names to the URL where their logo can be found, libraries without logos will show a placeholder\n- `:token-name` is a string with the name of an environment variable containing a GitHub token required to use the GitHub API\n- `:style` is a map with style configuration\n + `:primary-color` sets the primary color of the webpage\n + `:header` controls the styles of the header, only `:background` is supported for now\n + `:font` configures different CSS font settings such as the URL and the heading or base typographies\n- `:footer` is for settings related to the footer\n + `:acknowledgment` is a boolean flag for toggling the \"by 47 Degrees\" acknowledgment in the footer\n- `:analytics` is an optional string containing a Google analytics token\n \n### Preview your site\n\nAfter editing the configuration, you can preview the site by running\n\n```sh\n$ lein figwheel\n```\n\nand pointing your browser to [localhost:3449](http://localhost:3449).\n\n### Build your site\n\nYou can create the static site under the `docs` directory by running:\n\n```sh\n$ lein run\n```\n\t\nCongratulations, you just built your organization's open source project site!\n\n#### SASS compilation\n\nFor compiling the SASS styles into CSS, run the following command at the root of the directory:\n\n    sass sass/style.scss:resources/public/css/style.css\n\nIf you want sass to be automatically recompiled when modifying .scss files add the `--watch` flag:\n\n    sass --watch sass/style.scss:resources/public/css/style.css\n\n## License\n\nCopyright (C) 2016-2019 47 Degrees. http://47deg.com\n\nDistributed under the Eclipse Public License either version 1.0 or (at your option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemystifyfp%2Forg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemystifyfp%2Forg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemystifyfp%2Forg/lists"}