Skip to content

jurraca/core-config-tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin Core Config Generator

A terminal user interface (TUI) for generating Bitcoin Core configuration files, built with Go using Charm's Huh and BubbleTea libraries.

demo.mp4

About

This tool provides an interactive, user-friendly way to create bitcoin.conf configuration files for Bitcoin Core. Instead of manually editing the configuration file, users can navigate through various options using an elegant terminal interface.

Features

  • Interactive form-based configuration
  • Real-time validation of settings
  • Conditional field display based on selections
  • Status bar showing current selections

Usage

Run the program:

go run main.go

or build a binary with go build

Navigate through the form using:

  • Arrow keys to move between fields
  • Enter to select/confirm
  • Tab to move between sections
  • Shift-tab to move backwards between sections

The generated configuration will be saved as bitcoin.conf in your current directory.

Key Sections

  • Basics: Core settings like data directory and network selection
  • RPCs: RPC server configuration including auth and port settings
  • Reindex: Warning about reindexing data

Development

Built using:

Accessibility

If using a screen reader, you can enable accessible mode by setting the ACCESSIBLE=true environment variable. See BubbleTea docs.

License

This project is open source and available under the MIT License.

About

A TUI for generating Bitcoin Core configuration

Resources

License

Stars

9 stars

Watchers

1 watching

Forks

Contributors