|
1 | | -# Turborepo starter |
| 1 | +# Simple Remote SSH |
2 | 2 |
|
3 | | -This is an official starter Turborepo. |
| 3 | +🚀 **A simple and convenient SSH connection management tool** |
4 | 4 |
|
5 | | -## Using this example |
| 5 | +Easily manage and connect to your SSH hosts with an intuitive CLI interface. Store host configurations, manage authentication methods, and execute commands automatically upon connection. |
6 | 6 |
|
7 | | -Run the following command: |
| 7 | +## ✨ Features |
8 | 8 |
|
9 | | -```sh |
10 | | -npx create-turbo@latest |
| 9 | +- 🔗 **Easy Connection**: Connect to saved hosts with a single command |
| 10 | +- 📋 **Host Management**: Add, edit, and delete SSH hosts interactively |
| 11 | +- 🎯 **Interactive Interface**: Intuitive host selection with prompts |
| 12 | +- 🔑 **Multiple Auth Methods**: SSH keys, password, or default SSH settings |
| 13 | +- 🤖 **Auto Commands**: Execute commands automatically on connection |
| 14 | +- 🏷️ **Tag System**: Organize hosts with custom tags |
| 15 | +- ⚡ **Quick Access**: Short and memorable commands |
| 16 | + |
| 17 | +## 📦 Installation |
| 18 | + |
| 19 | +```bash |
| 20 | +# Install globally from npm |
| 21 | +npm install -g simple-remote-ssh |
| 22 | + |
| 23 | +# Or using yarn |
| 24 | +yarn global add simple-remote-ssh |
| 25 | + |
| 26 | +# Or using pnpm |
| 27 | +pnpm add -g simple-remote-ssh |
11 | 28 | ``` |
12 | 29 |
|
13 | | -## What's inside? |
| 30 | +## 🚀 Quick Start |
| 31 | + |
| 32 | +```bash |
| 33 | +# Add your first SSH host |
| 34 | +simple-ssh add |
14 | 35 |
|
15 | | -This Turborepo includes the following packages/apps: |
| 36 | +# List all saved hosts |
| 37 | +simple-ssh list |
16 | 38 |
|
17 | | -### Apps and Packages |
| 39 | +# Connect to a host (interactive selection) |
| 40 | +simple-ssh |
18 | 41 |
|
19 | | -- `docs`: a [Next.js](https://nextjs.org/) app |
20 | | -- `web`: another [Next.js](https://nextjs.org/) app |
21 | | -- `@repo/ui`: a stub React component library shared by both `web` and `docs` applications |
22 | | -- `@repo/eslint-config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`) |
23 | | -- `@repo/typescript-config`: `tsconfig.json`s used throughout the monorepo |
| 42 | +# Connect to specific host |
| 43 | +simple-ssh connect my-server |
| 44 | +``` |
24 | 45 |
|
25 | | -Each package/app is 100% [TypeScript](https://www.typescriptlang.org/). |
| 46 | +## 📖 Documentation |
26 | 47 |
|
27 | | -### Utilities |
| 48 | +For detailed usage instructions, examples, and API reference, see the [CLI package documentation](./packages/cli/README.md). |
28 | 49 |
|
29 | | -This Turborepo has some additional tools already setup for you: |
| 50 | +## 🏗️ Project Structure |
30 | 51 |
|
31 | | -- [TypeScript](https://www.typescriptlang.org/) for static type checking |
32 | | -- [ESLint](https://eslint.org/) for code linting |
33 | | -- [Prettier](https://prettier.io) for code formatting |
| 52 | +This is a monorepo built with [Turborepo](https://turbo.build/) containing: |
34 | 53 |
|
35 | | -### Build |
| 54 | +### Packages |
36 | 55 |
|
37 | | -To build all apps and packages, run the following command: |
| 56 | +- **`packages/cli`** - The main CLI tool for SSH connection management |
| 57 | +- **`packages/ui`** - Shared UI components (for future extensions) |
| 58 | +- **`packages/eslint-config`** - Shared ESLint configurations |
| 59 | +- **`packages/typescript-config`** - Shared TypeScript configurations |
38 | 60 |
|
39 | | -``` |
40 | | -cd my-turborepo |
41 | | -pnpm build |
42 | | -``` |
| 61 | +### Apps |
43 | 62 |
|
44 | | -### Develop |
| 63 | +- **`apps/docs`** - Documentation website (planned) |
| 64 | +- **`apps/web`** - Web interface (planned) |
45 | 65 |
|
46 | | -To develop all apps and packages, run the following command: |
| 66 | +## 🛠️ Development |
47 | 67 |
|
48 | | -``` |
49 | | -cd my-turborepo |
| 68 | +```bash |
| 69 | +# Install dependencies |
| 70 | +pnpm install |
| 71 | + |
| 72 | +# Build all packages |
| 73 | +pnpm build |
| 74 | + |
| 75 | +# Develop with watch mode |
50 | 76 | pnpm dev |
| 77 | + |
| 78 | +# Run tests |
| 79 | +pnpm test |
| 80 | + |
| 81 | +# Lint code |
| 82 | +pnpm lint |
51 | 83 | ``` |
52 | 84 |
|
53 | | -### Remote Caching |
| 85 | +## 🤝 Contributing |
54 | 86 |
|
55 | | -> [!TIP] |
56 | | -> Vercel Remote Cache is free for all plans. Get started today at [vercel.com](https://vercel.com/signup?/signup?utm_source=remote-cache-sdk&utm_campaign=free_remote_cache). |
| 87 | +Contributions are welcome! Please feel free to submit a Pull Request. |
57 | 88 |
|
58 | | -Turborepo can use a technique known as [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines. |
| 89 | +1. Fork the repository |
| 90 | +2. Create your feature branch (`git checkout -b feature/amazing-feature`) |
| 91 | +3. Commit your changes (`git commit -m 'Add some amazing feature'`) |
| 92 | +4. Push to the branch (`git push origin feature/amazing-feature`) |
| 93 | +5. Open a Pull Request |
59 | 94 |
|
60 | | -By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup?utm_source=turborepo-examples), then enter the following commands: |
| 95 | +## 📄 License |
61 | 96 |
|
62 | | -``` |
63 | | -cd my-turborepo |
64 | | -npx turbo login |
65 | | -``` |
| 97 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
66 | 98 |
|
67 | | -This will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview). |
| 99 | +## 👤 Author |
68 | 100 |
|
69 | | -Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your Turborepo: |
| 101 | +**minchodang** <minsu910725@gmail.com> |
70 | 102 |
|
71 | | -``` |
72 | | -npx turbo link |
73 | | -``` |
| 103 | +- GitHub: [@minchodang](https://github.com/minchodang) |
| 104 | + |
| 105 | +## 🔗 Links |
74 | 106 |
|
75 | | -## Useful Links |
| 107 | +- [npm package](https://www.npmjs.com/package/simple-remote-ssh) |
| 108 | +- [GitHub Repository](https://github.com/kangminsu/simple_remote_ssh) |
| 109 | +- [Issue Tracker](https://github.com/kangminsu/simple_remote_ssh/issues) |
76 | 110 |
|
77 | | -Learn more about the power of Turborepo: |
| 111 | +--- |
78 | 112 |
|
79 | | -- [Tasks](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks) |
80 | | -- [Caching](https://turbo.build/repo/docs/core-concepts/caching) |
81 | | -- [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) |
82 | | -- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering) |
83 | | -- [Configuration Options](https://turbo.build/repo/docs/reference/configuration) |
84 | | -- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference) |
85 | | -# my-turbo-repo-template |
| 113 | +⭐ **Star this repository if you find it helpful!** |
0 commit comments