{"id":20279225,"url":"https://github.com/peterhellberg/monastic","last_synced_at":"2025-12-03T05:09:38.553Z","repository":{"id":33777208,"uuid":"37434923","full_name":"peterhellberg/monastic","owner":"peterhellberg","description":"Implementation of The Ciphers of the Monks in Go","archived":false,"fork":false,"pushed_at":"2016-07-15T20:43:44.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T07:11:29.036Z","etag":null,"topics":["cipher","go","monk","toy-project"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/peterhellberg.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}},"created_at":"2015-06-15T00:16:23.000Z","updated_at":"2017-04-11T13:49:38.000Z","dependencies_parsed_at":"2022-09-08T17:20:14.793Z","dependency_job_id":null,"html_url":"https://github.com/peterhellberg/monastic","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/peterhellberg%2Fmonastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fmonastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fmonastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fmonastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterhellberg","download_url":"https://codeload.github.com/peterhellberg/monastic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241773264,"owners_count":20018064,"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":["cipher","go","monk","toy-project"],"created_at":"2024-11-14T13:28:59.948Z","updated_at":"2025-12-03T05:09:33.483Z","avatar_url":"https://github.com/peterhellberg.png","language":"Go","readme":"# monastic\n\n[![Build Status](https://travis-ci.org/peterhellberg/monastic.svg?branch=master)](https://travis-ci.org/peterhellberg/monastic)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/peterhellberg/monastic)\n[![License MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](https://github.com/peterhellberg/monastic#license-mit)\n\nImplementation of [The Ciphers of the Monks](https://en.wikipedia.org/wiki/The_Ciphers_of_the_Monks) in Go\n\n## Installation\n\n    go get -u github.com/peterhellberg/monastic\n\nIf you want to install the command line application:\n\n    go get -u github.com/peterhellberg/monastic/cmd/monastic\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/peterhellberg/monastic\"\n)\n\nfunc main() {\n\tc, err := monastic.NewCipher(4444)\n\tif err == nil {\n\t\tfmt.Println(c)\n\t}\n\n\t// Output:\n\t// *  *  *\n\t//  * * *\n\t//   ***\n\t//    *\n\t//   ***\n\t//  * * *\n\t// *  *  *\n\n\tp, err := monastic.Parse(c.String())\n\tif err == nil {\n\t\tfmt.Printf(\"Number %d with parts %+v\\n\", p, p.Parts())\n\t}\n\n\t// Output:\n\t// Number 4444 with parts [4000 400 40 4]\n}\n```\n\n[![Ciphers](http://assets.c7.se/skitch/monastic-20160715-144242.png)](http://www.davidaking.org/Ciphers.htm)\n\n## License (MIT)\n\nCopyright (c) 2015-2016 [Peter Hellberg](http://c7.se/)\n\n\u003e Permission is hereby granted, free of charge, to any person obtaining\n\u003e a copy of this software and associated documentation files (the\n\u003e \"Software\"), to deal in the Software without restriction, including\n\u003e without limitation the rights to use, copy, modify, merge, publish,\n\u003e distribute, sublicense, and/or sell copies of the Software, and to\n\u003e permit persons to whom the Software is furnished to do so, subject to\n\u003e the following conditions:\n\n\u003e The above copyright notice and this permission notice shall be\n\u003e included in all copies or substantial portions of the Software.\n\n\u003e THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\u003e EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\u003e MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\u003e NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n\u003e LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n\u003e OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n\u003e WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fmonastic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterhellberg%2Fmonastic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fmonastic/lists"}