├── .github └── workflows │ └── build.yml ├── .gitignore ├── LICENSE ├── README.md ├── app ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md └── src │ ├── ai │ ├── generate.rs │ └── mod.rs │ ├── cli │ ├── interface.rs │ └── mod.rs │ ├── constants.rs │ ├── git │ ├── commit.rs │ ├── diff.rs │ └── mod.rs │ ├── lib.rs │ ├── main.rs │ └── utils │ ├── config.rs │ └── mod.rs └── server ├── .dockerignore ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── README.md ├── build.sh ├── compile.yml ├── docker-compose.yml ├── sample.env └── src ├── errors.rs ├── lib.rs ├── main.rs └── routes ├── commit_message.rs └── mod.rs /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | target/ -------------------------------------------------------------------------------- /app/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/Cargo.lock -------------------------------------------------------------------------------- /app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/Cargo.toml -------------------------------------------------------------------------------- /app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/README.md -------------------------------------------------------------------------------- /app/src/ai/generate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/ai/generate.rs -------------------------------------------------------------------------------- /app/src/ai/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/ai/mod.rs -------------------------------------------------------------------------------- /app/src/cli/interface.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/cli/interface.rs -------------------------------------------------------------------------------- /app/src/cli/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/cli/mod.rs -------------------------------------------------------------------------------- /app/src/constants.rs: -------------------------------------------------------------------------------- 1 | pub const SERVER_URL: &str = "https://api-gitswift.ccstiet.com"; -------------------------------------------------------------------------------- /app/src/git/commit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/git/commit.rs -------------------------------------------------------------------------------- /app/src/git/diff.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/git/diff.rs -------------------------------------------------------------------------------- /app/src/git/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/git/mod.rs -------------------------------------------------------------------------------- /app/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/lib.rs -------------------------------------------------------------------------------- /app/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/main.rs -------------------------------------------------------------------------------- /app/src/utils/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/utils/config.rs -------------------------------------------------------------------------------- /app/src/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/app/src/utils/mod.rs -------------------------------------------------------------------------------- /server/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/.dockerignore -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /build 3 | server 4 | .env 5 | -------------------------------------------------------------------------------- /server/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/Cargo.lock -------------------------------------------------------------------------------- /server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/Cargo.toml -------------------------------------------------------------------------------- /server/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/Dockerfile -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/README.md -------------------------------------------------------------------------------- /server/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/build.sh -------------------------------------------------------------------------------- /server/compile.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/compile.yml -------------------------------------------------------------------------------- /server/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/docker-compose.yml -------------------------------------------------------------------------------- /server/sample.env: -------------------------------------------------------------------------------- 1 | GROQ_API_KEY=Your_api_key_here 2 | PORT=5000 3 | -------------------------------------------------------------------------------- /server/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/src/errors.rs -------------------------------------------------------------------------------- /server/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/src/lib.rs -------------------------------------------------------------------------------- /server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/src/main.rs -------------------------------------------------------------------------------- /server/src/routes/commit_message.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-me-ojas/git-swift/HEAD/server/src/routes/commit_message.rs -------------------------------------------------------------------------------- /server/src/routes/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod commit_message; --------------------------------------------------------------------------------