Skip to content

Commit

Permalink
repo tranfer
Browse files Browse the repository at this point in the history
  • Loading branch information
KunalSin9h committed Mar 29, 2024
1 parent ead0699 commit 9b6b4d4
Show file tree
Hide file tree
Showing 69 changed files with 732 additions and 715 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ builds:
- CGO_ENABLED=0
- MELTCD_HOST=0.0.0.0
ldflags:
- -s -w -X github.com/meltred/meltcd/version.Version={{ .Version }}
- -s -w -X github.com/kunalsin9h/meltcd/version.Version={{ .Version }}
goos:
- linux
- windows
Expand All @@ -26,7 +26,7 @@ builds:
release:
draft: true
github:
owner: meltred
owner: kunalsin9h
name: meltcd
name_template: "{{.ProjectName}} v{{.Version}}"

Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ This is a guide for you to get started with contributing to Meltcd. Please read

Before we start, here are the important links you should know:

- [docs](https://cd.meltred.tech/docs)
- [to file an **issues**](https://github.com/meltred/meltcd/issues)
- [docs](https://cd.kunalsin9h.tech/docs)
- [to file an **issues**](https://github.com/kunalsin9h/meltcd/issues)
- [chat](https://discord.gg/Y2C6mEhhf3)

## Getting Started
Expand Down Expand Up @@ -133,7 +133,7 @@ swag init --output ./docs/swagger
go run main.go server --verbose
```

The server will be running at post `11771` unless changed using environment variable, see the [docs](https://cd.meltred.tech/docs) for more information.
The server will be running at post `11771` unless changed using environment variable, see the [docs](https://cd.kunalsin9h.tech/docs) for more information.

The api will be served at `http://localhost:11771/api`.

Expand Down Expand Up @@ -162,7 +162,7 @@ go run main.go server --verbose

So to work on frontend, after changing the code, you need to build the frontend and start the server.

**Deploying application**: Head over to [docs](https://cd.meltred.tech/docs/) to see how to deploy the application.
**Deploying application**: Head over to [docs](https://cd.kunalsin9h.tech/docs/) to see how to deploy the application.

### CLI

Expand All @@ -174,7 +174,7 @@ You can run the CLI using
go run main.go app ls
```

For other CLI command see [docs](https://cd.meltred.tech/docs/).
For other CLI command see [docs](https://cd.kunalsin9h.tech/docs/).

While the server is running, you can update the CLI code and test it.

Expand Down
25 changes: 12 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<div align="center">
<img alt="MeltCD Logo" height="200px" src="https://github.com/meltred/meltcd/assets/82411321/9065c92d-79a5-44ff-aa53-3e0bd40f0080">
<img alt="MeltCD Logo" height="200px" src="https://github.com/kunalsin9h/meltcd/assets/82411321/9065c92d-79a5-44ff-aa53-3e0bd40f0080">
</div>

# meltcd

#### Docs: https://cd.meltred.tech/docs
#### Docs: https://cd.kunalsin9h.tech/docs

![Discord](https://img.shields.io/discord/1086894797622624257)

> [!Caution]
> `meltcd` is very far from production use, unless we achieve **1.0.0**
> [!Caution] > `meltcd` is very far from production use, unless we achieve **1.0.0**
Argo-cd like GitDevOps Continuous Development platform for docker swarm.

Expand All @@ -22,22 +21,22 @@ Argo-cd like GitDevOps Continuous Development platform for docker swarm.
#### Linux, MacOS and WSL.

```bash
curl -s https://install.meltred.tech/meltcd | bash
curl -s https://install.kunalsin9h.tech/meltcd | bash
```

#### Windows

Download From [latest release](https://github.com/meltred/meltcd/releases/latest)
Download From [latest release](https://github.com/kunalsin9h/meltcd/releases/latest)

#### Go Install

```bash
go install github.com/meltred/meltcd@latest
go install github.com/kunalsin9h/meltcd@latest
```

## Architecture

![architecture](https://github.com/meltred/meltcd/assets/82411321/f73f80a5-a533-420d-aee9-6a06e2b13976)
![architecture](https://github.com/kunalsin9h/meltcd/assets/82411321/f73f80a5-a533-420d-aee9-6a06e2b13976)

## Local Setup

Expand Down Expand Up @@ -92,18 +91,18 @@ This will start the server on port `11771`
> If you get error saying **"Error response from daemon: This node is not a swarm manager. Use \"docker swarm init\" or \"docker swarm join\" to connect this node to swarm and try again."**
> This means you have docker working but the node is not a `Docker Swarm` Node, to make it run `docker swarm init`.
Go to **Developer Docs** for more info. [Developer Docs](https://github.com/meltred/meltcd/tree/main/docs/dev)
Go to **Developer Docs** for more info. [Developer Docs](https://github.com/kunalsin9h/meltcd/tree/main/docs/dev)

## Contributing

We welcome contributions to `meltcd` in many forms. There's always plenty to do!

See the [Contribution Guide](https://github.com/meltred/meltcd/blob/main/CONTRIBUTING.md) for more information.
See the [Contribution Guide](https://github.com/kunalsin9h/meltcd/blob/main/CONTRIBUTING.md) for more information.

---

# About Meltred
# About kunalsin9h

This project is sponsored and maintained by [Meltred](https://meltred.com). Meltred builds tools to manage software.
This project is sponsored and maintained by [kunalsin9h](https://kunalsin9h.com). kunalsin9h builds tools to manage software.

<a href="https://meltred.com"><img src="https://i.imgur.com/Lq1q7vO.png" alt="Meltred Logo" loading="lazy" height="50px" /></a>
<a href="https://kunalsin9h.com"><img src="https://i.imgur.com/Lq1q7vO.png" alt="kunalsin9h Logo" loading="lazy" height="50px" /></a>
10 changes: 5 additions & 5 deletions cmd/meltcd/app/create.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -23,10 +23,10 @@ import (
"fmt"
"net/http"

"github.com/meltred/meltcd/internal/core/application"
"github.com/meltred/meltcd/server"
api "github.com/meltred/meltcd/server/api/app"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/internal/core/application"
"github.com/kunalsin9h/meltcd/server"
api "github.com/kunalsin9h/meltcd/server/api/app"
"github.com/kunalsin9h/meltcd/util"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/meltcd/app/get.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -22,10 +22,10 @@ import (
"fmt"
"net/http"

"github.com/meltred/meltcd/internal/core/application"
"github.com/meltred/meltcd/server"
api "github.com/meltred/meltcd/server/api/app"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/internal/core/application"
"github.com/kunalsin9h/meltcd/server"
api "github.com/kunalsin9h/meltcd/server/api/app"
"github.com/kunalsin9h/meltcd/util"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/meltcd/app/list.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -21,9 +21,9 @@ import (
"fmt"
"net/http"

"github.com/meltred/meltcd/internal/core"
"github.com/meltred/meltcd/server"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/internal/core"
"github.com/kunalsin9h/meltcd/server"
"github.com/kunalsin9h/meltcd/util"
"github.com/rodaine/table"
"github.com/spf13/cobra"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/meltcd/app/recreate.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -22,9 +22,9 @@ import (
"fmt"
"net/http"

"github.com/meltred/meltcd/server"
api "github.com/meltred/meltcd/server/api/app"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/server"
api "github.com/kunalsin9h/meltcd/server/api/app"
"github.com/kunalsin9h/meltcd/util"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/meltcd/app/refresh.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -22,9 +22,9 @@ import (
"fmt"
"net/http"

"github.com/meltred/meltcd/server"
api "github.com/meltred/meltcd/server/api/app"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/server"
api "github.com/kunalsin9h/meltcd/server/api/app"
"github.com/kunalsin9h/meltcd/util"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/meltcd/app/remove.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -22,9 +22,9 @@ import (
"fmt"
"net/http"

"github.com/meltred/meltcd/server"
api "github.com/meltred/meltcd/server/api/app"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/server"
api "github.com/kunalsin9h/meltcd/server/api/app"
"github.com/kunalsin9h/meltcd/util"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/meltcd/app/update.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -23,10 +23,10 @@ import (
"fmt"
"net/http"

"github.com/meltred/meltcd/internal/core/application"
"github.com/meltred/meltcd/server"
api "github.com/meltred/meltcd/server/api/app"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/internal/core/application"
"github.com/kunalsin9h/meltcd/server"
api "github.com/kunalsin9h/meltcd/server/api/app"
"github.com/kunalsin9h/meltcd/util"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/meltcd/login.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -26,8 +26,8 @@ import (
"strings"

"github.com/fatih/color"
"github.com/meltred/meltcd/internal/core"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/internal/core"
"github.com/kunalsin9h/meltcd/util"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/meltcd/meltcd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -19,8 +19,8 @@ package meltcd
import (
"log"

"github.com/meltred/meltcd/cmd/meltcd/app"
"github.com/meltred/meltcd/version"
"github.com/kunalsin9h/meltcd/cmd/meltcd/app"
"github.com/kunalsin9h/meltcd/version"

"github.com/spf13/cobra"
)
Expand Down
10 changes: 5 additions & 5 deletions cmd/meltcd/repo.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -25,10 +25,10 @@ import (
"strings"

"github.com/gofiber/fiber/v2"
"github.com/meltred/meltcd/server"
"github.com/meltred/meltcd/server/api/app"
"github.com/meltred/meltcd/server/api/repo"
"github.com/meltred/meltcd/util"
"github.com/kunalsin9h/meltcd/server"
"github.com/kunalsin9h/meltcd/server/api/app"
"github.com/kunalsin9h/meltcd/server/api/repo"
"github.com/kunalsin9h/meltcd/util"
"github.com/rodaine/table"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/meltcd/server.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2023 - PRESENT Meltred
Copyright 2023 - PRESENT kunalsin9h
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -22,7 +22,7 @@ import (
"os"
"strings"

"github.com/meltred/meltcd/server"
"github.com/kunalsin9h/meltcd/server"

"github.com/spf13/cobra"
)
Expand Down
10 changes: 8 additions & 2 deletions docs/swagger/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const docTemplate = `{
"contact": {},
"license": {
"name": "Apache 2.0",
"url": "https://github.com/meltred/meltcd/blob/main/LICENSE"
"url": "https://github.com/kunalsin9h/meltcd/blob/main/LICENSE"
},
"version": "{{.Version}}"
},
Expand Down Expand Up @@ -884,6 +884,9 @@ const docTemplate = `{
"repo.PrivateRepoDetails": {
"type": "object",
"properties": {
"image_ref": {
"type": "string"
},
"password": {
"type": "string"
},
Expand All @@ -906,6 +909,9 @@ const docTemplate = `{
"repository.RepoData": {
"type": "object",
"properties": {
"image_ref": {
"type": "string"
},
"reachable": {
"type": "boolean"
},
Expand All @@ -927,7 +933,7 @@ const docTemplate = `{
},
"externalDocs": {
"description": "Meltcd Docs",
"url": "https://cd.meltred.tech/docs"
"url": "https://cd.kunalsin9h.tech/docs"
}
}`

Expand Down
Loading

0 comments on commit 9b6b4d4

Please sign in to comment.