{"id":26278914,"url":"https://github.com/osamikoyo/sea","last_synced_at":"2025-03-14T13:18:29.199Z","repository":{"id":269772694,"uuid":"908127930","full_name":"osamikoyo/Sea","owner":"osamikoyo","description":"Generator for your architecture by toml templates","archived":false,"fork":false,"pushed_at":"2025-01-07T04:31:48.000Z","size":1836,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T05:27:13.443Z","etag":null,"topics":["architecture","generator","go","golang","toml-parser"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osamikoyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2024-12-25T07:55:51.000Z","updated_at":"2025-01-07T04:31:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"3938f6f3-2fa2-477b-90bc-78eff308fcdb","html_url":"https://github.com/osamikoyo/Sea","commit_stats":null,"previous_names":["osamikoyo/sea"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamikoyo%2FSea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamikoyo%2FSea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamikoyo%2FSea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osamikoyo%2FSea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osamikoyo","download_url":"https://codeload.github.com/osamikoyo/Sea/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581068,"owners_count":20314167,"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":["architecture","generator","go","golang","toml-parser"],"created_at":"2025-03-14T13:18:28.648Z","updated_at":"2025-03-14T13:18:29.194Z","avatar_url":"https://github.com/osamikoyo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sea\n\n\n## 📦 Описание\n\nSea - менеджер архитектур для ваших проектов, расчитан на Go, но возможен и для других ящыков\n\n## 🚀 Начало работы\n\nИнструкции по установке и настройке Sea для локальной разработки.\n\n### 🎈 Предварительные требования\n\n\n- [Go](https://go.dev/) \n\n### 📦 Установка\n\n1. Клонируйте репозиторий: ```git clone https://gitlab.com/osamikoyo/sea.git```\n2. Выполните команду:  ```go install cmd/sea/sea.go```\n\n### 💧 Использование \n- Создайте папку в домашней дериктории ```sea create``` \n- Переместите туда .toml файл с описанием шаблона архитектуры(см. ниже) ```sea install {filename.toml}```\n- Теперь вы можете использовать этот шаблон в директории, в которой хотите создать эту архитектуру ```sea search {name без .toml} {название проекта}```\n## Шаблоны \n\n    directories = [\"dir1\", \"dir2\", \"dir3\"]\n    files = [\"dir1/file1.txt\", \"file2.txt\"]\n    comands = [\"echo hello\", \"command2\"]\n\n    deps = [\"gorm.io/gorm\", \"github.com/go-chi/chi/v5\"]\n\n    [[contents]]\n    file = \"dir1/file1.txt\"\n    data = \"hello\"\n\n    [[contents]]\n    file = \"file2.txt\"\n    data = \"fd\"\n### directories\n- Имена директорий, которые вы хотите видеть в проекте\n\n### files\n- Имена файлов, которые вы хотите видеть в проекте, указывайте полный путь от корня проекта \n\n### commands\n- Команды для терминала, которые вы хотите использовать при парсинге шаблона в архитектуру ```!!!ВАЖНО!!! команда go mod init вшита в проект, указывать её ненужно```\n\n### deps\n- Зависимости проекта, подключаемые с помощью ```go get```\n\n### contents\n- Текст для каких либо файлов, в поле ```file``` указывается полное имя файла от корня проекта, а в поле ```data``` может быть как одностроковый ```\"hello\"```, так и многостроковый```\"\"\"hello\"\"\"``` ввод\n- Символ ```$``` на уровне парсинга заменяется на имя вашего проекта, которое пользователь ввод как аргумент при команде ```sea search templname name```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosamikoyo%2Fsea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosamikoyo%2Fsea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosamikoyo%2Fsea/lists"}