create-go-app
ctop
Our great sponsors
create-go-app | ctop | |
---|---|---|
6 | 37 | |
2,330 | 15,153 | |
1.5% | - | |
7.5 | 0.0 | |
7 days ago | 6 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
create-go-app
- Links e Projetos em Golang
-
π Go Fiber by Examples: Working with middlewares and boilerplates
View on GitHub
-
π The Create Go App project has grown to v2, but is still easier, better, faster & stronger
# ./hosts.ini # Ansible inventory for deploy the Create Go App project. # Author: Vic ShΓ³stak (https://shostak.dev) # For more information, please visit https://create-go.app/ [cgapp_project] 127.0.0.1 # CHANGE THIS TO YOUR REMOTE SERVER IP! [cgapp_project:vars] # # Ansible default variables to start playbook: # # Set remote sudo username ansible_user=root # Ask become password for remote sudo user ansible_become=yes # Set connection type to remote server (usually, 'ssh') ansible_connection=ssh # Set Python 3 default path ansible_python_interpreter=/usr/bin/python3 # # Remote server configuration: # # Set directory on your remote server # for store project files server_dir=/var/www/cgapp # Set user (owner of files/folders) name server_user=root # Set group name server_group=docker # # Project configuration: # # Set your project domain project_domain=example.com # # Docker configuration: # # Set Docker network name docker_network=cgapp_network # # Backend configuration: # # Set backend port number, # MUST BE MATCH to the port that is listed # in your `./backend/.env` file! backend_port=5000 # # PostgreSQL configuration (backend DB): # # Set PostgreSQL version (for example, 13.2) postgres_version=latest # Set PostgreSQL port number, # MUST BE MATCH to the port that is listed # in your `./backend/.env` file! postgres_port=5432 # Set PostgreSQL user name, # MUST BE MATCH to the user name that is listed # in your `./backend/.env` file! postgres_user=postgres # Set PostgreSQL password, # MUST BE MATCH to the password that is listed # in your `./backend/.env` file! postgres_password=password # Set PostgreSQL DB name, # MUST BE MATCH to the DB name that is listed # in your `./backend/.env` file! postgres_db=postgres # Set PostgreSQL SSL mode state ('enabled' or 'disabled'), # MUST BE MATCH to the SSL mode state that is listed # in your `./backend/.env` file! postgres_ssl_mode=disable # # Go-Migrate configuration: # # Set migration number, # if you WANT to migrate all of your migrations, # just leave it blank, # for only initial migration set it to '1' migrate_number=1 # # Redis configuration (backend cache): # # Set Redis version (for example, 6.2) redis_version=latest # Set Redis port number, # MUST BE MATCH to the port that is listed # in your `./backend/.env` file! redis_port=6379 # # Nginx configuration: # # Set Nginx version (for example, 1.20-alpine) nginx_version=alpine # Set redirect from HTTP to HTTPS for default server nginx_use_only_https=yes # Set redirect from WWW to non-WWW domain for default server nginx_redirect_to_non_www=yes
-
π What's new and special in Create Go App CLI v1.7.0?
Hey, DEV friends! π Today, I'd like to introduce a new version of my own project Create Go App CLI, that changes some fundamental things.
-
β¨ A powerful CLI for create a new production-ready project with backend, frontend and deploy automation
This is a common console utility, written on pure Golang. Therefore, download and install Go. Version 1.11 or higher is required. Next, download the latest version of the Create Go App and install to your system:
ctop
-
Lazydocker
This does remind me of ctop as well: https://github.com/bcicen/ctop
It also let's you look at containers, resource usage graphs, their logs and even do some actions through a TUI.
-
Portainer Business Edition 5 free nodes plan will change to 3 nodes in the future.
ssh, nnn, micro and ctop is all I need on my dockerhosts
- Ctop β Top-like interface for container metrics
-
Found an amazingly handy terminal UI for both docker and docker-compose. Have actually just added the bin to my git repo with all my compose files. Great for a quick look at what is going on host machines.
My problem with ctop is, that it seems to show wrong memory usage data: https://github.com/bcicen/ctop/issues/314
- FLaNK Stack Weekly 3 April 2023
-
Portainer Alternatives?
When talk about interface and cli... I am a huge fan of ctop
-
What do you think about Portainer?
You can use CTOP. It's like a lite portainer on CLI. You can check logs, stats, restart containers.
-
Ask HN: What is the best source to learn Docker in 2023?
In the terminal, there are also a few useful projects:
- for Docker, there is ctop: https://github.com/bcicen/ctop
-
Docker 2.0 went from $11M to $135M in 2 years
> I tried portainer, awful UX experience and all good features are inside paid version.
This is interesting to me, because it doesn't quite match my experience - I've been using Portainer for around 3 years at this point and it's been pretty decent.
The worst issues that I've gotten is networking issues in some hybrid configurations with Docker Swarm (e.g. Portainer cannot reach the manager node of the cluster for a bit), or troubles configuring Traefik ingresses when managing Kubernetes (though I think the recent patch notes talked about improving the ingress section, so maybe the experience will get better with non-Nginx ingresses).
Other than that, it's been great for onboarding new people, illustrating the cluster state at a glance, easily operating with stacks and scaling/restarting services as needed, including pulling new images, viewing the logs or even connecting to containers through a web UI if need be. The webhook functionality in particular is really nice - you can just do a curl request against a given URL and that will pull the new container versions for the given image and do a redeploy, which works nicely with a variety of CI solutions.
When I last tried, initializing Nomad clusters with networking encryption was a bit less of a smooth experience (needing to essentially manage your own PKI) and the web UI felt more like a dashboard, instead of something that you could click around in, if you're a proponent of that workflow.
Rancher is probably better than both of those options, though there's a certain overhead in regards to running both that software and a full Kubernetes cluster. If Kubernetes feels like a good fit for a particular project and resources aren't an issue, definitely check it out! You can, of course, also have some success with lightweight clusters, like K3s: https://k3s.io/
I'll definitely agree that Lazydocker is a nice tool, but I wouldn't call it superior, just different (TUI vs GUI), their demo video is nice though: https://youtu.be/NICqQPxwJWw
It actually reminds me of ctop, which you might also want to check out, though it's not something that you'd manage clusters in, merely the individual containers on a node (which won't always be enough, same as Docker Compose isn't): https://github.com/bcicen/ctop
Regardless, for Kubernetes, I'm inclined to say that you'd enjoy k9s a bunch then, it has a similar TUI approach: https://k9scli.io/
-
Looking for a simple Docker dashboard
However, something like ctop may be easier to use.
What are some alternatives?
delve - Delve is a debugger for the Go programming language.
Plausible Analytics - Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
gluetun - VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
colima - Container runtimes on macOS (and Linux) with minimal setup
fzf - :cherry_blossom: A command-line fuzzy finder
go-dry - DRY (don't repeat yourself) package for Go
peco - Simplistic interactive filtering tool
minify - Go minifiers for web formats
glow - Render markdown on the CLI, with pizzazz! π π»
csvtk - A cross-platform, efficient and practical CSV/TSV toolkit in Golang
resty - Simple HTTP and REST client library for Go
git-time-metric - Simple, seamless, lightweight time tracking for Git