• Stars
    star
    244
  • Rank 164,906 (Top 4 %)
  • Language
    Python
  • License
    GNU Affero Genera...
  • Created over 5 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

📝 Terminal-based crossword puzzle solving interface

cursewords

cursewords is a "graphical" command line program for solving crossword puzzles in the terminal. You can use it to open, solve, and save puzzle files in the popular AcrossLite .puz format.

Installation

cursewords is only compatible with python3, and can be installed through pip. If you don't know what that means, the best command is probably:

pip3 install cursewords

You should then be ready to go. You can then use cursewords to open .puz files directly:

cursewords todaysnyt.puz

cursewords has been tested to work on Linux, Mac, and Windows computers.

Usage

Controls are printed in a panel at the bottom of the screen. Note that (for now) cursewords is not very accommodating of changes in window size, so you may have to quit and re-open if you need to resize your terminal.

Navigation

If you've used a program to solve crossword puzzles, navigation should be pretty intuitive. tab and shift+tab are the workhorses for navigation between blanks. Arrow keys will navigate the grid according to the direction of the cursor, and shift+arrow will move through words perpendicular to the cursor. page up and page down (on Mac, Fn+ up/down arrow keys) jump between words without considering blank spaces. ctrl+g, followed by a number, will jump directly to the space with that number.

If you need some help, ctrl+c will check the current square, word, or entire puzzle for errors, and ctrl+r will reveal answers (subject to the same scoping options). To clear all entries on the puzzle, use ctrl+x, and to reset the puzzle to its original state (resetting the timer and removing any stored information about hints and corrections), use ctrl+z.

To open a puzzle in downs-only mode, where only the down clues are visible, use the --downs-only flag when opening the file on the command line.

Print mode

If cursewords is not running in an interactive terminal (because its output is being piped to another command or redirected to a file) or if you pass the --print flag directly, it will print a formatted grid and list of clues to stdout and quit. The output of that command can be modified with the following flags:

  • --blank ensures the grid is unfilled, even if you've saved solving progress
  • --solution prints the filled grid
  • --width INT caps the program output at INT characters wide. (If this flag isn't passed at runtime, cursewords will attempt to pick a reasonable output size. In many cases that will be 92 characters or the width of the puzzle.)

More Repositories

1

xword-dl

⬛⬜⬛ Command line tool to scrape crosswords from online solvers and save them as .puz files ⬛⬜⬛
Python
140
star
2

public_domains

Find possible host names in a source text
Python
53
star
3

linkarchiver

🗄 Bot powering the @LinkArchiver Twitter tool to send tweeted URLs to the Wayback Machine
Python
44
star
4

ftd

💀 Scripts for FOIA The Dead, a morbid transparency project
Python
35
star
5

choochoobot

🚂 Twitter bot painting landscapes of majestic trains.
Python
32
star
6

automosh

Weird experimental videomoshing experiment (weird)
Python
14
star
7

bookscanning

📚 some scripts and things for processing scanned books
Ruby
11
star
8

pombot

🍎 code powering the twitter bot @pomological
Python
10
star
9

nytsb

Downloads the daily New York Times Spelling Bee to play in the terminal
Python
8
star
10

mad-generation-loss

An audio file degrades, generation after generation
Shell
8
star
11

tuttle

A basic Signal client with an Onion interface
Python
7
star
12

anichoochoo

🚂 A script to produce animation frames of the @choochoobot movie.
Python
7
star
13

datasets

Datasets I've cleaned up or compiled from public sources
4
star
14

i-remember-txt

Bot powering @i_remember_txt, a Twitter tribute to Joe Brainard's "I Remember" (1975)
Python
4
star
15

oldroadside

Bot powering the @oldroadside Twitter/Mastodon/Bluesky accounts
Python
3
star
16

repoman

The REdactive POetry MANipulator that drives the Redactive Poetry Project
3
star
17

pomtiles

A tiling program for making visuals with the pomological watercolor collection
Python
2
star
18

78_sampler

Bot powering @78_sampler, posting video clips of digitized 78 records from the Internet Archive
Python
2
star
19

puzls

Python
2
star
20

muslimbanca9

Bot powering @muslimbanca9, an automated monitor of the Washington v. Trump public docket mirror.
Python
2
star
21

stn-tweets

🤖 Bot that monitors for changes in the Secure The News scorecard and tweets them
Python
1
star
22

foiafeed

Python
1
star
23

acrostic

Python
1
star
24

foiafeed-ttnconfig

Configuration files for the FOIA Feed instance of Track The News
Python
1
star
25

aoc2019

solutions for Advent of Code 2019
Python
1
star