Constitutional Courier is a modern, GTK-based desktop application that provides an elegant and intuitive way to explore the United States Constitution. Built with Python and GTK 4.0, it offers a clean dark-themed interface that makes reading and searching through constitutional texts comfortable and efficient. I am a beginner and I hope you folks enjoy using this.
(credit for the icon it is published under the Creative Commons License)
https://www.svgrepo.com/svg/404467/constitution-constitution-book-court-gavel-law-book
-
Modern Dark Theme
- Gruvbox-inspired color scheme
- High contrast for improved readability
-
Interactive Navigation
- Sidebar navigation for quick access to specific sections
- Full document view option
- Smooth scrolling through articles and amendments
-
Advanced Search Capabilities
- Real-time full-text search
- Highlighted search results
- Quick search access via Ctrl+F shortcut
-
User-Friendly Interface
- Split-pane layout with adjustable sidebar
- Clean and minimalist design
- Keyboard shortcuts for common actions
- Python 3.x
- GTK 4.0
- PyGObject
- libadwaita
- Install system dependencies:
# Ubuntu/Debian
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0 libadwaita-1-0
# Fedora
sudo dnf install python3-gobject gtk4 libadwaita
# Arch
sudo pacman -Syu python3-gobject gtk4 libadwaita- Clone the repository:
git clone https://github.com/moontowncitizen/constitutional-courier.git
cd constitutional-courier- Run the application:
python3 constitutional_courier.py-
Navigation
- Use the sidebar to jump to specific articles or amendments
- Click "The U.S. Constitution" to view the full document
-
Searching
- Press Ctrl+F to focus the search bar
- Type your search term and press Enter or click the Search button
- Search results will be highlighted in the text
- The status bar will show the number of matches
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a new branch (
git checkout -b feature/improvement) - Make your changes
- Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature/improvement) - Create a Pull Request
- Bug Fixes
- Fonts probably Go Mono nerd fonts.
- Packaging
- Ports (MacOS and Windows and maybe just maybe an android port)
- Sound Effects? (revolutionary war sounds ding of liberty bell, tin whistle, yankee doodle etc.){an option only}
- Maybe a fork of this for each state's constitution all offline.
This project is licensed under the GPL v3.0 License - see the LICENSE file for details.
- Built using GTK 4.0 and libadwaita
- Inspired by the need for accessible constitutional texts
- Thanks to the GTK team for their excellent documentation
- Thanks to python3 for being amazing for beginners
For questions, suggestions, or issues, please open an issue in the GitHub repository.
Made with ❤️ for constitutional education and open source software!