{"id":27070432,"url":"https://github.com/sdglbl/dotfiles","last_synced_at":"2025-04-05T22:35:17.291Z","repository":{"id":37782174,"uuid":"469266030","full_name":"SDGLBL/dotfiles","owner":"SDGLBL","description":"A dotfiles support full stack dev","archived":false,"fork":false,"pushed_at":"2025-03-22T07:59:36.000Z","size":36635,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T08:28:35.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","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/SDGLBL.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-13T04:07:49.000Z","updated_at":"2025-03-22T07:59:40.000Z","dependencies_parsed_at":"2023-11-18T07:22:59.553Z","dependency_job_id":"2a4fdc0d-35b7-44b2-8add-530754fe98ae","html_url":"https://github.com/SDGLBL/dotfiles","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/SDGLBL%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDGLBL%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDGLBL%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDGLBL%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SDGLBL","download_url":"https://codeload.github.com/SDGLBL/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411257,"owners_count":20934650,"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":[],"created_at":"2025-04-05T22:35:16.790Z","updated_at":"2025-04-05T22:35:17.275Z","avatar_url":"https://github.com/SDGLBL.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to Dotfiles 👋\u003c/h1\u003e\n\u003cp\u003e\n\u003c/p\u003e\n\n\u003e A dotfiles support full stack development in terminal\n\n## Features\n\n### Neovim Configuration\n\nRequires Neovim \u003e= 0.10.0\n\n#### Core Features\n\n- Full LSP support with blink.cmp based completion (modern replacement for nvim-cmp)\n- Treesitter-based syntax highlighting and indentation\n- Git integration tools\n- Debug Adapter Protocol (DAP) support\n- Remote SSH copy \u0026 paste support\n- Fuzzy finding with Telescope\n- Automatic LSP server installation\n- Copilot integration\n- Advanced AI coding assistance with CodeCompanion\n\n#### Language Support\n\nPre-configured support for:\n\n- Lua\n- Python\n- Golang\n- Rust\n- JavaScript/TypeScript\n- HTML/CSS\n- Docker\n- JSON/YAML\n- Markdown\n- And more...\n\n#### Themes\n\nIntegrated themes include:\n\n- Catppuccin\n- Gruvbox\n- Rose Pine\n- Tokyo Night\n- Night Fox\n- Material\n- And many more...\n\n### Terminal Tools\n\nEssential CLI tools included:\n\n- [duf](https://github.com/muesli/duf) - Disk usage analyzer\n- [fzf](https://github.com/junegunn/fzf) - Fuzzy finder\n- [bat](https://github.com/sharkdp/bat) - Modern cat replacement\n- [exa](https://github.com/ogham/exa) - Modern ls replacement\n- [ripgrep](https://github.com/BurntSushi/ripgrep) - Fast grep replacement\n- [delta](https://github.com/dandavison/delta) - Git diff viewer\n- [lazygit](https://github.com/jesseduffield/lazygit) - Git TUI\n\n## Prerequisites\n\n### Ubuntu/Debian\n\n```bash\nsudo apt install make gcc git python3 zsh curl wget tmux libc6-dev\n```\n\n### macOS\n\n```bash\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\nbrew install gcc make g++ git python3 zsh libc6-dev wget curl tmux\n```\n\n## Installation\n\nFor Linux systems:\n\n```sh\n./setup.sh -a\n```\n\nFor macOS systems:\n\n```sh\n./setup_macos.sh -a\n```\n\nUse `-h` or `--help` flag to see all available options:\n\n```sh\n./setup.sh -h\n# or\n./setup_macos.sh -h\n```\n\n## Configuration\n\n### API Tokens and Secrets\n\nThis repository includes a secure mechanism for storing and using API tokens and secrets without exposing them in your Git history.\n\n#### Initial Setup\n\n1. After cloning the repository, install the Git hooks:\n\n```bash\n./git-hooks/install-hooks.sh\n```\n\n2. Create a `.token.sh` file in the root of the repository (a template is provided at `.token.sh.template`):\n\n```bash\ncp .token.sh.template .token.sh\n```\n\n3. Edit the file to add your API keys and other secrets:\n\n```bash\nvim .token.sh\n```\n\n4. The Git hooks will automatically encrypt your `.token.sh` when committing changes and decrypt it when checking out or pulling.\n\n#### How It Works\n\n- `.token.sh` contains your sensitive data and is excluded from Git\n- `.token.sh.enc` is an encrypted version that is safe to commit\n- Git hooks automatically handle encryption/decryption using OpenSSL\n- The encryption password is stored in your `~/.zshrc` as `TOKEN_DECODE_PASSWORD`\n\n#### Manual Operations\n\nIf you need to manually encrypt or decrypt the file:\n\n```bash\n# Encrypt\nopenssl enc -aes-256-cbc -salt -pbkdf2 -pass \"pass:$TOKEN_DECODE_PASSWORD\" -in .token.sh -out .token.sh.enc\n\n# Decrypt\nopenssl enc -aes-256-cbc -d -salt -pbkdf2 -pass \"pass:$TOKEN_DECODE_PASSWORD\" -in .token.sh.enc -out .token.sh\n```\n\n### Neovim\n\nThe main Neovim configuration file is located at `~/.config/nvim/init.lua`. You can customize settings by editing this file:\n\n```lua\nrequire(\"configs\").setup({\n  -- Choose your colorscheme\n  dark_colorscheme = \"rose-pine-moon\",\n  light_colorscheme = \"catppuccin-latte\",\n\n  -- Enable features\n  dap = true,         -- Debug adapter protocol\n  format_on_save = true,\n  transparent_window = true,\n\n  -- Language support\n  go = true,\n  rust = true,\n  python = true,\n\n  -- Additional features\n  autopairs = false,\n  markdown_preview = true\n})\n```\n\n## Project Structure\n\n```\n.\n├── Brewfile\n├── config -\u003e .config\n├── Dockerfile\n├── README.md\n├── setup.sh\n└── setup_macos.sh\n```\n\n## Author\n\n👤 **sdglbl**\n\n- Github: [@sdglbl](https://github.com/sdglbl)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## License\n\nThis project is [MIT](LICENSE) licensed.\n\n---\n\n_This README was generated with ❤️_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdglbl%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdglbl%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdglbl%2Fdotfiles/lists"}