{"id":20971654,"url":"https://github.com/burkaydurdu/looney","last_synced_at":"2025-03-13T08:20:37.170Z","repository":{"id":134656421,"uuid":"363762566","full_name":"burkaydurdu/looney","owner":"burkaydurdu","description":"Code Night (CEC)","archived":false,"fork":false,"pushed_at":"2021-05-02T22:42:19.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T04:39:15.011Z","etag":null,"topics":["clojurescript"],"latest_commit_sha":null,"homepage":"https://looneyy.netlify.app","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/burkaydurdu.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":"2021-05-02T22:24:13.000Z","updated_at":"2022-10-20T21:23:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"50f0cec1-c43e-4f38-8e9f-3c99c17faa87","html_url":"https://github.com/burkaydurdu/looney","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"dcd1ddb6b17829b8c2833803d9c1ffd29f5843f5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burkaydurdu%2Flooney","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burkaydurdu%2Flooney/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burkaydurdu%2Flooney/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burkaydurdu%2Flooney/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burkaydurdu","download_url":"https://codeload.github.com/burkaydurdu/looney/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243366386,"owners_count":20279351,"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":["clojurescript"],"created_at":"2024-11-19T04:04:33.333Z","updated_at":"2025-03-13T08:20:37.150Z","avatar_url":"https://github.com/burkaydurdu.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# looney\n[![Netlify Status](https://api.netlify.com/api/v1/badges/21b162db-0bab-4d16-ac0b-1c52c640670e/deploy-status)](https://app.netlify.com/sites/looneyy/deploys)\n\n## Install Leiningen\n* [Debian](https://packages.debian.org/stable/leiningen) (since Buster)\n* [Ubuntu 18.04](https://launchpad.net/ubuntu/+source/leiningen-clojure)\n* [asdf](https://github.com/miorimmax/asdf-lein)\n* [nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/build-managers/leiningen/default.nix)\n* [Homebrew](https://github.com/Homebrew/homebrew-core/blob/master/Formula/leiningen.rb) (macOS, `brew install leiningen`)\n* [Archlinux](https://www.archlinux.org/packages/community/any/leiningen/)\n* [Chocolatey](http://chocolatey.org/packages/lein) (Windows, `choco install lein`)\n* [Scoop](https://scoop.sh/) (Windows, `scoop install leiningen`)\n* [FreeBSD Ports](http://www.freshports.org/devel/leiningen/)\n* [SDKMAN!](http://sdkman.io/)\n* [openSUSE](https://build.opensuse.org/package/show/devel:languages:clojure/leiningen)\n\n## Install NPM, Node\n\n[Package Manager](https://nodejs.org/tr/download/package-manager)\n\n## Create Project\n\nRe-frame template\n```sh\nlein new re-frame fro-cix +10x +test +kondo +cider +routes\n```\n\n## Development\n\n### Running the App\n\nStart a temporary local web server, build the app with the `dev` profile, and serve the app,\nbrowser test runner and karma test runner with hot reload:\n\n```sh\nnpm install\nnpx shadow-cljs watch app\n```\n\nPlease be patient; it may take over 20 seconds to see any output, and over 40 seconds to complete.\n\nWhen `[:app] Build completed` appears in the output, browse to\n[http://localhost:8280/](http://localhost:8280/).\n\n[`shadow-cljs`](https://github.com/thheller/shadow-cljs) will automatically push ClojureScript code\nchanges to your browser on save. To prevent a few common issues, see\n[Hot Reload in ClojureScript: Things to avoid](https://code.thheller.com/blog/shadow-cljs/2019/08/25/hot-reload-in-clojurescript.html#things-to-avoid).\n\nOpening the app in your browser starts a\n[ClojureScript browser REPL](https://clojurescript.org/reference/repl#using-the-browser-as-an-evaluation-environment),\nto which you may now connect.\n\n\n#### Connecting to the browser REPL from VS Code with Calva\n\nSee the [re-frame-template README](https://github.com/day8/re-frame-template) for [Calva](https://github.com/BetterThanTomorrow/calva) instuctions. See also https://calva.io for Calva documentation.\n\n\n#### Connecting to the browser REPL from other editors\n\nSee\n[Shadow CLJS User's Guide: Editor Integration](https://shadow-cljs.github.io/docs/UsersGuide.html#_editor_integration).\nNote that `npm run watch` runs `npx shadow-cljs watch` for you, and that this project's running build ids is\n`app`, `browser-test`, `karma-test`, or the keywords `:app`, `:browser-test`, `:karma-test` in a Clojure context.\n\nAlternatively, search the web for info on connecting to a `shadow-cljs` ClojureScript browser REPL\nfrom your editor and configuration.\n\n\n#### Connecting to the browser REPL from a terminal\n\n1. Connect to the `shadow-cljs` nREPL:\n    ```sh\n    lein repl :connect localhost:8777\n    ```\n    The REPL prompt, `shadow.user=\u003e`, indicates that is a Clojure REPL, not ClojureScript.\n\n2. In the REPL, switch the session to this project's running build id, `:app`:\n    ```clj\n    (shadow.cljs.devtools.api/nrepl-select :app)\n    ```\n    The REPL prompt changes to `cljs.user=\u003e`, indicating that this is now a ClojureScript REPL.\n3. See [`user.cljs`](dev/cljs/user.cljs) for symbols that are immediately accessible in the REPL\nwithout needing to `require`.\n\n### Running Tests\n\nBuild the app with the `prod` profile, start a temporary local web server, launch headless\nChrome/Chromium, run tests, and stop the web server:\n\n```sh\nnpm install\nnpm run ci\n```\n\nPlease be patient; it may take over 15 seconds to see any output, and over 25 seconds to complete.\n\nOr, for auto-reload:\n```sh\nnpm install\nnpm run watch\n```\n\nThen in another terminal:\n```sh\nkarma start\n```\n\n### Running `shadow-cljs` Actions\n\nSee a list of [`shadow-cljs CLI`](https://shadow-cljs.github.io/docs/UsersGuide.html#_command_line)\nactions:\n```sh\nnpx shadow-cljs --help\n```\n\nPlease be patient; it may take over 10 seconds to see any output. Also note that some actions shown\nmay not actually be supported, outputting \"Unknown action.\" when run.\n\nRun a shadow-cljs action on this project's build id (without the colon, just `app`):\n```sh\nnpx shadow-cljs \u003caction\u003e app\n```\n### Debug Logging\n\nThe `debug?` variable in [`config.cljs`](src/cljs/fro_cix/config.cljs) defaults to `true` in\n[`dev`](#running-the-app) builds, and `false` in [`prod`](#production) builds.\n\nUse `debug?` for logging or other tasks that should run only on `dev` builds:\n\n```clj\n(ns fro-cix.example\n  (:require [fro-cix.config :as config])\n\n(when config/debug?\n  (println \"This message will appear in the browser console only on dev builds.\"))\n```\n\n## Production\n\nBuild the app with the `prod` profile:\n\n```sh\nnpm install\nnpm run release\n```\n\nPlease be patient; it may take over 15 seconds to see any output, and over 30 seconds to complete.\n\nThe `resources/public/js/compiled` directory is created, containing the compiled `app.js` and\n`manifest.edn` files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburkaydurdu%2Flooney","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburkaydurdu%2Flooney","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburkaydurdu%2Flooney/lists"}