{"id":15873827,"url":"https://github.com/phronmophobic/spreadsheet","last_synced_at":"2025-03-16T04:30:46.296Z","repository":{"id":143868595,"uuid":"551734467","full_name":"phronmophobic/spreadsheet","owner":"phronmophobic","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-27T22:15:01.000Z","size":202,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-27T05:02:43.831Z","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":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phronmophobic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-10-15T01:42:38.000Z","updated_at":"2024-12-27T22:15:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"153d68a5-5534-468f-9659-9cd75d8f33dd","html_url":"https://github.com/phronmophobic/spreadsheet","commit_stats":{"total_commits":66,"total_committers":1,"mean_commits":66.0,"dds":0.0,"last_synced_commit":"5d8792698227e5bd272fc90f13c8fdfa2c33ddf5"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phronmophobic%2Fspreadsheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phronmophobic%2Fspreadsheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phronmophobic%2Fspreadsheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phronmophobic%2Fspreadsheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phronmophobic","download_url":"https://codeload.github.com/phronmophobic/spreadsheet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243802943,"owners_count":20350316,"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-10-06T01:07:17.338Z","updated_at":"2025-03-16T04:30:46.290Z","avatar_url":"https://github.com/phronmophobic.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spreadsheet\n\nAlpha software.\n\n## Dependency\n\nLeiningen dependency:\n\n```clojure\n[com.phronemophobic/spreadsheet \"0.1.4\"]\n```\n\ndeps.edn dependency:\n\n```clojure\ncom.phronemophobic/spreadsheet {:mvn/version \"0.1.4\"}\n```\n\n## Usage\n\n### Try it!\n\n```sh\nclj -Sdeps {:deps\\ {com.phronemophobic/spreadsheet\\ {:mvn/version\\ \\\"0.1.4\\\"}}} -M -m com.phronemophobic.membrane.spreadsheet\n```\n\n### Programmatic usage\n\nOpen a spreadsheet window. Expressions will be evaluated in the caller's namespace.\n\n```clojure\n(require '[com.phronemophobic.membrane.spreadsheet :as ss])\n\n(ss/run)\n```\n\n## \"Tutorial\"\n\nThis isn't a real tutorial, but just enough info to do _something_ with the tool.\n\nThe toolbar buttons:  \n`+` : add a new row of name, form, and value.  \n`+42`: add a new row of name, number slider, and value.  \n`+[]`: add a new row of name, ui editor, and value. The UI editor behavior is WIP and undocumented. Good luck!  \n`+:)`: add a new row of name, custom component, and value. The first field is the name of a defui component and the second field is the initial value. Try `membrane.basic-components/counter` and `{:num 42}` and hit the `reset` button.  \n`+!!`: adds a new row of name, form, and value. Most fields will eval when you type. This field will only reevalute when you hit the `go` button. Useful for side effects, long computations, or `require`s.\n\nThe checkbox will cause the form to `def` the value when it is reevaluated. The value doesn't def until the form is reevaluated. WARNING: if you type into the name field while the checkbox is checked, then it will def a new var for _every_ character you type.\n\n\nThe `edit` button let's you switch the namespace the forms are evaluated in. The `save` and `load` buttons are intended for saving/loading documents from a database, but are currently disabled.\n\n## Hidden Features\n\n### make-fn\n\nYou can do example based programming with `make-fn`. It's a special form of `(make-fn [cell1 cell2 cell3 ...] result-cell)`. The first arg is a list of arguments the function will take. The second argument is the value the function will return. Any intermediate cells required to derive `result-cell` from the inputs is automatically included.\n\n![make-fn example](/images/make-fn-example.png?raw=true) \n\n## License\n\nCopyright © 2021 Adrian\n\nDistributed under the Eclipse Public License version 1.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphronmophobic%2Fspreadsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphronmophobic%2Fspreadsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphronmophobic%2Fspreadsheet/lists"}