foreseen

A text-based gemini browser with prefetching
git clone git://git.laack.co/foreseen.git
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2026-10-15 05:08Updated todosAndrew Laack1+2-0
2026-10-15 05:05Final instanceAndrew Laack1+2-1
2026-10-15 05:02Force all screen writes to be 256-bit colors, never fgAndrew Laack1+8-0
2026-10-14 23:21Added todosAndrew Laack1+16-0
2026-10-12 22:06Import cleanupAndrew Laack10+0-19
2026-10-12 21:56Factoring shared.cpp + fmtAndrew Laack5+66-17
2026-10-10 13:49Fixed rendering issue with long bottom textAndrew Laack2+11-4
2026-10-10 03:18Fixed issue w/ headless execution causing problemsAndrew Laack1+5-0
2026-10-09 07:12Fixed bug with query parameters being appendedAndrew Laack3+6-2
2026-10-08 21:15Updated todosAndrew Laack5+17-22
2026-10-05 22:49Remvoe unused import / varAndrew Laack1+0-3
2026-10-05 13:46March specificationAndrew Laack1+1-1
2026-10-05 13:42Fixed issue w/ first drawAndrew Laack2+5-1
2026-10-04 21:34Updated binding messagesAndrew Laack2+7-0
2026-10-04 21:30Padding on bottom for consistency w/ topAndrew Laack2+14-3
2026-10-04 21:16Added bottom text for interactivityAndrew Laack3+47-4
2026-10-04 18:22Second tryAndrew Laack1+1-1
2026-10-04 18:20Capitalize GeminiAndrew Laack2+2-2
2026-10-04 18:17FormatAndrew Laack44+1854-1215
2026-10-04 17:43Added man page + installationAndrew Laack8+161-5
2026-10-04 17:14Move init colors to mainAndrew Laack3+10-11
2026-10-04 17:12Support localhostAndrew Laack4+17-4
2026-10-04 16:50Handle overflows for inputsAndrew Laack3+2-5
2026-10-04 16:47Refactor colorsAndrew Laack9+35-10
2026-10-04 16:37Show users status codes, meta lines, and download status information on interactions.Andrew Laack12+182-75
2026-10-04 05:43Updated todoAndrew Laack2+2-168
2026-10-04 05:35Better history caching mechanicsAndrew Laack2+9-7
2026-10-04 05:21Revert "history caching for cert sites; this was bugging me"Andrew Laack2+5-3
2026-10-04 05:18history caching for cert sites; this was bugging meAndrew Laack2+3-5
2026-10-04 04:48Revert "Refactored code to return enum from gotosite."Andrew Laack6+21-38
2026-10-04 03:30Refactored code to return enum from gotosite.Andrew Laack6+38-21
2026-10-03 22:56Use native archAndrew Laack2+3-1
2026-10-03 21:00Added phony lineAndrew Laack1+3-0
2026-10-03 20:59removed unused make optsAndrew Laack1+0-9
2026-10-03 20:51Refactoring exceptionsAndrew Laack6+13-19
2026-10-03 20:41Added redirect testAndrew Laack2+26-0
2026-10-03 20:36Fix testAndrew Laack1+5-0
2026-10-03 20:31Cleanup some re-rendering stuff + complexityAndrew Laack2+31-43
2026-10-03 15:34FormattingAndrew Laack2+5-3
2026-10-02 23:54Fix location in readmeAndrew Laack1+2-2
2026-10-02 01:38Updated readme orderingAndrew Laack1+22-24
2026-10-02 01:34Updated readmeAndrew Laack1+16-7
2026-10-02 01:24Updated tests, fixed debug warningsAndrew Laack5+16-13
2026-10-02 01:12Argument parsing with positional argument for destinationAndrew Laack5+60-16
2026-10-02 00:28Vendor argparse libAndrew Laack2+2590-0
2026-10-02 00:27Fix addl. copyAndrew Laack3+16-3
2026-10-01 21:08Improve perf by 47%...Andrew Laack1+6-0
2026-10-01 20:41FixAndrew Laack1+1-1
2026-10-01 20:35All tests and benchmarks work offline.Andrew Laack10+631-375
2026-10-01 16:47Removed final ext conn of this typeAndrew Laack1+3-3
2026-10-01 16:39Refactoring to reduce dependence on network connections in testsAndrew Laack6+58-78
2026-10-01 15:42Use cwd instead of hardcoded pathsAndrew Laack4+46-19
2026-10-01 03:55CleanupAndrew Laack1+1-0
2026-10-01 02:32More sensibleAndrew Laack1+1-1
2026-10-01 02:29Updated cleanAndrew Laack1+4-0
2026-10-01 02:27Decrease traversal countAndrew Laack1+1-1
2026-10-01 02:25Removed run till crashAndrew Laack2+0-12
2026-10-01 02:24notesAndrew Laack2+11-5
2026-10-01 02:18Flamegraph command for benchmarking easeAndrew Laack3+32-2
2026-10-01 02:05More adherence work. should be better nowAndrew Laack3+17-9
2026-10-01 01:54permissive parsing of whitespaces per the specAndrew Laack2+20-20
2026-10-01 00:17Use uint8_t to represent colorsAndrew Laack22+87-36
2026-09-30 20:52Some basic sanity testsAndrew Laack2+122-0
2026-09-30 20:07BenchmarkingAndrew Laack4+2-4
2026-09-30 19:38Refactor for better renderingAndrew Laack3+83-12
2026-09-30 18:48Basic benchmarkAndrew Laack3+48-1
2026-09-30 18:32Refactor passing lines / colsAndrew Laack5+282-164
2026-09-30 16:13Fixed issue with certain status codes causing infinite loopsAndrew Laack3+25-14
2026-09-30 15:35Fixed broken file path export testAndrew Laack2+4-4
2026-09-30 15:30Added feature to open current page in editor.Andrew Laack9+82-10
2026-09-30 04:33Reign in countsAndrew Laack1+2-2
2026-09-30 04:18Fuzz tests for inputsAndrew Laack4+68-9
2026-09-30 02:49Added tests for inputAndrew Laack1+68-35
2026-09-30 02:42Refactor user inputAndrew Laack1+38-33
2026-09-30 02:22Cover 'n' branchAndrew Laack1+24-0
2026-09-30 00:32Refactored link followingAndrew Laack3+93-40
2026-09-29 23:55Fix issue where open -> input didn't render the prompt right awayAndrew Laack1+1-3
2026-09-29 22:34fixed header render regressionAndrew Laack1+4-0
2026-09-29 22:23More coverage of keyboard inputsAndrew Laack1+36-0
2026-09-29 22:14Remove accidental fileAndrew Laack1+0-11
2026-09-29 22:13Draw at endAndrew Laack2+12-0
2026-09-29 22:12pure function state machine refactoring for 'o' menuAndrew Laack3+105-53
2026-09-29 19:22Remove unused codeAndrew Laack1+0-18
2026-09-29 19:17Basic puppet test startAndrew Laack2+41-1
2026-09-29 19:07Pulled out rendering code into dedicated file + headerAndrew Laack4+436-406
2026-09-29 18:57Refactor out main loop so I can programatically call it.Andrew Laack2+109-97
2026-09-29 18:43Coverage guided testingAndrew Laack8+156-17
2026-09-29 17:32Fixed some warnings, added coverage to test outputsAndrew Laack7+23-13
2026-09-29 16:56Fixed a cli input edge caseAndrew Laack5+14-6
2026-09-29 16:35Refactored pure function tests to use sections.Andrew Laack1+190-91
2026-09-29 16:00Updated folding in readmeAndrew Laack2+29-14
2026-09-28 22:58Updated todoAndrew Laack1+4-2
2026-09-28 22:42Renamed gemi -> foreseenAndrew Laack5+21-21
2026-09-28 22:28Download path stuff + testsAndrew Laack5+47-15
2026-09-28 21:42Added rapid check testsAndrew Laack3+48-11
2026-09-28 21:03Better formatting, not a fan of all the locations though.Andrew Laack7+10-10
2026-09-28 20:51Update readmeAndrew Laack1+2-2
2026-09-28 20:50Renaming gemini-browser -> gemi.Andrew Laack8+34-28
2026-09-28 19:42Fixed an issue where broken pipes would crash processAndrew Laack3+5-2
2026-09-28 19:34Fake engine usageAndrew Laack3+50-4
2026-09-28 19:11Noted bugAndrew Laack2+8-1
2026-09-28 19:07Decrease thread countAndrew Laack1+2-2
2026-09-28 19:05Added random walk test to try to find edge cases for browser usage. Found and fixed an issue with long urls as a result.Andrew Laack12+79-14
2026-09-28 18:01Added rapidcheck to test build for future useAndrew Laack2+2-2
2026-09-28 17:52Unique pointer for openssl critical code.Andrew Laack9+76-25
2026-09-28 16:00Fixed rendering regressionAndrew Laack1+4-14
2026-09-28 15:55Updated todo.txt bc issue was resolved.Andrew Laack1+0-10
2026-09-28 15:47Patch uri to fix issue in libAndrew Laack1+9-1
2026-09-28 15:37Handle special format characters correctly.Andrew Laack7+99-6
2026-09-28 14:56Add page size limit (default 5mb)Andrew Laack4+21-2
2026-09-28 05:11Noted some issuesAndrew Laack2+8-1
2026-09-28 05:04Simple refactoringAndrew Laack2+15-30
2026-09-28 04:57Some basic improvements for messaging about site access failuresAndrew Laack5+72-19
2026-09-28 01:30Revert accidental constant changeAndrew Laack1+2-2
2026-09-28 01:29Fix to allow inputs with ':' charactersAndrew Laack4+17-5
2026-09-28 01:02Updated readmeAndrew Laack1+3-2
2026-09-28 00:54Improving gemtext spec complianceAndrew Laack3+75-5
2026-09-28 00:33Revisions to formatting stuffAndrew Laack14+122-29
2026-09-27 22:05Support for unicode stufsAndrew Laack2+84-27
2026-09-27 21:21Small tweaksAndrew Laack3+2-12
2026-09-27 21:18Refactor so browser defaults to about page instead of requiring invocations of that sort for invariantsAndrew Laack5+52-6
2026-09-27 20:31Handle conversion edge caseAndrew Laack3+31-6
2026-09-27 20:11Bunch more tests, refactoring, and fixed a bug with segfaults for page load failures.Andrew Laack7+118-61
2026-09-27 19:24incremental changes towards unified resolutionAndrew Laack4+27-25
2026-09-27 19:22Refactoring cli parsingAndrew Laack5+79-26
2026-09-27 17:41Added comment to explain weirdnessAndrew Laack1+9-0
2026-09-27 17:39Improved forward / backward navigation, particularly useful for sites that redirect back to where you were.Andrew Laack3+15-8
2026-09-27 17:11Better cli input handling, readme updateAndrew Laack2+5-4
2026-09-27 17:07Improved readmeAndrew Laack3+27-11
2026-09-27 16:42RefactoringAndrew Laack9+24-15
2026-09-27 16:24Fixed some stuff upAndrew Laack1+9-1
2026-09-26 14:46Added cleanAndrew Laack1+1-1
2026-09-26 14:45Fixing compiler warningsAndrew Laack6+29-29
2026-09-26 14:29fixed up unused variables in vendored uri header fileAndrew Laack1+5-9
2026-09-26 14:22Makefile refactor'Andrew Laack3+50-7
2026-09-26 04:20Fixed issue with entries followed by redirects, and stuff like that (common on interactive systems)Andrew Laack3+31-24
2026-09-26 01:51Readme and cache improvementsAndrew Laack2+51-5
2026-09-26 01:29Improvements to caching with certs (don't prefetch at the very least)Andrew Laack3+31-6
2026-09-26 01:05Very basic auth where certs are sent on the basis of domains.Andrew Laack6+43-15
2026-09-25 23:50Updated messaging prompt for redirectAndrew Laack1+1-1
2026-09-25 23:48Support for showing inputAndrew Laack2+11-2
2026-09-25 23:46Basic scaffolding for identity management.Andrew Laack9+67-14
2026-09-25 21:43Accidental inclusion of tlgsAndrew Laack1+0-24
2026-09-25 21:35Color changesAndrew Laack3+4-1
2026-09-25 21:31Don't wrap preformatted lines, even when they are too long.Andrew Laack5+22-3
2026-09-25 21:18Small color changesAndrew Laack2+2-2
2026-09-25 21:14Fixing up some link stuffAndrew Laack4+22-11
2026-09-25 18:21Updated todosAndrew Laack2+24-2
2026-09-25 17:25Retain screen when rendering boxesAndrew Laack1+12-3
2026-09-25 17:16Updated wording for redirect to look nicer (no, it won't fold nicely anymore, that's okay though for most cases)Andrew Laack1+1-1
2026-09-25 17:13Small refactor for ctrl key macroAndrew Laack1+2-5
2026-09-25 17:06Fixed regressionsAndrew Laack2+8-2
2026-09-25 16:56Fixed testAndrew Laack1+3-3
2026-09-25 16:54Better support for variable sizingAndrew Laack2+85-42
2026-09-25 15:51Show redirect location.Andrew Laack2+24-1
2026-09-25 04:29Don't allow xdg-open to much up stdoutAndrew Laack1+10-2
2026-09-25 04:01Fixed cli parsing... again... and improved timeoutAndrew Laack2+27-7
2026-09-25 02:50Added spacing that's very similar to amfora (center lines based on max width, added two lines on top, two lines on bottom)Andrew Laack5+194-10
2026-09-25 02:23Remove un-used deps, replace clear with erase to get rid of flickeringAndrew Laack2+1-4
2026-09-24 23:04Basic support for downloading sitesAndrew Laack6+60-2
2026-09-24 15:43Added install, added additional c-r binding for refreshAndrew Laack3+10-3
2026-09-24 14:14Precondition check in break lines, fixed issue with cli parsingAndrew Laack2+7-2
2026-09-24 03:15Simple heuristic to check if we want to 1) use search engine 2) go directly to a site 3) follow a linkAndrew Laack1+17-3
2026-09-24 02:58Removed unnecessary render stepsAndrew Laack1+6-32
2026-09-24 02:53Improved init for many classes, improved cli startup positional args specificationAndrew Laack10+16-27
2026-09-23 22:10Use thread to open browser bc they are terrible pieces of software.Andrew Laack2+13-1
2026-09-23 22:03basic support for all types (not rigorousAndrew Laack10+198-68
2026-09-23 21:44Refactoring to put caching / threading in browser instead of mainAndrew Laack4+65-46
2026-09-23 20:26Added boldingAndrew Laack16+59-16
2026-09-23 20:07Handle line formatsAndrew Laack13+189-14
2026-09-23 18:48Some fixes and improvements to prefetchingAndrew Laack8+86-31
2026-09-23 17:09Added (provisional) aggressive cachingAndrew Laack5+96-3
2026-09-23 05:49Fix issue w/ trying to reach broken sites.Andrew Laack1+1-0
2026-09-23 04:40Added code to do line splitting for renderingAndrew Laack5+119-2
2026-09-23 03:25Support for argv file specification, {name}.{tld} -> gemini://{name}.{tld}, and other proto (like http) handling.Andrew Laack7+82-34
2026-09-23 02:25Added opening urls for non-gemini protocl links (like http)Andrew Laack4+23-2
2026-09-23 02:09Added caching; enabled only for gemini:// sitesAndrew Laack8+73-8
2026-09-23 00:59Reuse box logic and make it look nicerAndrew Laack1+58-33
2026-09-23 00:21Added ssl timeouts, default home page, and a bunch of edge case checksAndrew Laack8+179-67
2026-09-22 19:53Cache prior status codes for most recent visit to optimize back / forwardAndrew Laack2+14-6
2026-09-22 19:47Improved back / forward external semanticsAndrew Laack2+8-10
2026-09-22 19:40Handle more status typesAndrew Laack4+114-17
2026-09-22 18:46Better user input ux for text inputsAndrew Laack2+47-17
2026-09-22 17:57Added forward / backward in history support (feels slightly janky rn though).Andrew Laack4+32-10
2026-09-22 17:37Basic support for inputsAndrew Laack9+117-20
2026-09-22 16:34Janky link followingAndrew Laack3+62-3
2026-09-22 16:04Track link number on screen and render it. Render additional colors on the basis of lines.Andrew Laack11+98-34
2026-09-22 04:30Handle broken links, don't render non-asciiAndrew Laack4+24-10
2026-09-22 04:03Building out typesAndrew Laack12+104-9
2026-09-22 03:19Basic ncurses navigationAndrew Laack4+84-2
2026-09-22 01:25Basic tls stuffAndrew Laack7+64-8
2026-09-22 00:00Rewriting in cpp. Setup basic uri handling, object models, and testsAndrew Laack19+1045-0
2026-09-21 18:00Added back license and readmeAndrew Laack2+683-0
2026-09-21 17:59Start freshAndrew Laack617+0-372414
2026-06-04 02:41Fixed issue with rendering / redirects like tlgs.one status 10 -> 10 -> 10 chainAndrew Laack1+8-4
2026-06-04 02:32Added prefix messaging for interactive modeAndrew Laack1+14-0
2026-06-04 02:16Added a note about status codes 10 and 11Andrew Laack1+5-0
2026-06-04 02:15Added the ability to use interactive (1X status code) sites, like search enginesAndrew Laack1+88-6
2026-05-10 02:03Scroll back when loading pages; short term improvementAndrew Laack1+4-1
2026-05-10 01:57go fmtAndrew Laack1+32-45
2026-05-09 20:24Fixed backwards navigation bug, added forwards navigationAndrew Laack1+26-14
2026-05-09 18:39Read cli input, assume arg 1 := site to open, else use tlgs.one (reasonable default search engine for now)Andrew Laack1+9-1
2026-05-08 07:53complete refactor of the browser to fix some weird state choices I madeAndrew Laack3+295-189
2026-05-07 03:46Added some todosAndrew Laack1+9-0
2026-05-07 03:42Can follow basic links and suchAndrew Laack1+38-13
2026-05-07 03:17starting with navigationAndrew Laack1+38-7
2026-05-07 03:03Starting to understand the rendering stuffAndrew Laack1+0-2
2026-05-07 03:02Starting to understand the rendering stuffAndrew Laack2+147-1
2026-05-07 02:43fmtAndrew Laack1+0-1
2026-05-07 02:43Basics setupAndrew Laack616+371982-0
2026-05-07 02:18Added readmeAndrew Laack1+3-0