foreseen

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

commit 4cc9988a19c19be8cea2749fc473e20d8b616e7a
parent 70d16de60a3249cb33d96fcf745c671c45849021
Author: Andrew Laack <andrew@laack.co>
Date:   Wed, 30 Sep 2026 21:24:25 -0500

notes

Diffstat:
MTODO.txt | 11+++++++++++
Msrc/main.cpp | 5-----
2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/TODO.txt b/TODO.txt @@ -161,3 +161,14 @@ - if I enter some large fucking number like 120349871023948712304987 it searches because stoi probably fails, or our check does. - would be better to hash the rendered site and then do it that way if possible? + +- prefetch prefetch (configurable lookahead) + - it's fucking annoying that it only looks ahead one step, like why? + +- cleanups + - function signatures (const, noexcept) + - types + - ints + - imports + - tests + - remove useless ones diff --git a/src/main.cpp b/src/main.cpp @@ -1,17 +1,12 @@ #include "../include/browser.hpp" #include "../include/utils.hpp" #include "../include/render.hpp" -#include <algorithm> #include <cassert> -#include <chrono> #include <csignal> -#include <cstdint> #include <ncurses.h> #include <locale.h> #include <string> #include <unctrl.h> -#include <utility> -#include <vector> int main(int argc, char** argv) {