Commit Graph

400 Commits

Author SHA1 Message Date
Lionel Dricot 1edeab027c disable readability for now 2022-01-09 21:10:34 +01:00
Lionel Dricot fd88a5181f first working http support (work in progress) 2022-01-09 20:41:47 +01:00
Lionel Dricot c9a478d0eb starting to have http support 2022-01-09 16:12:07 +01:00
Lionel Dricot 2f7fa5daae starting to implement http support 2022-01-09 15:53:14 +01:00
Lionel Dricot a79f5da2cc refactoring write_body 2022-01-09 15:27:02 +01:00
Lionel Dricot 78c2728e96 some comments 2022-01-09 11:35:09 +01:00
Lionel Dricot 1d458c88f1 local files can be opened again 2022-01-08 22:18:54 +01:00
Lionel Dricot 818ae874a3 removing the never-used cache implementation 2022-01-08 21:55:19 +01:00
Lionel Dricot 28908078c3 fixing bugs introduced by the refactoring 2022-01-08 21:46:57 +01:00
Lionel Dricot 2f212848d8 big refactorisation incoming. Lot of bugs to expect. 2022-01-08 21:32:25 +01:00
Lionel Dricot 53d17d0f3b start of a huge refactoring : moving mime into a GeminiItem 2022-01-08 14:16:55 +01:00
Lionel Dricot 2f78452f9c add the longer prompt in less to see position 2022-01-06 13:44:02 +01:00
Lionel Dricot c9ec5eb243 new feature : copy content or url to main clipboard 2022-01-05 21:15:10 +01:00
Lionel Dricot 4aec75a753 new feature : copy content or url to main clipboard 2022-01-05 21:12:59 +01:00
Lionel Dricot 9974dab934 new feature: tour . 2022-01-03 16:40:52 +01:00
Lionel Dricot 3b0c69dcbf small README improvements 2022-01-03 14:48:58 +01:00
Lionel Dricot 74687a2ec8 Improving README 2022-01-01 22:36:06 +01:00
Lionel Dricot ae198f8f6e fixed a crash of the save command 2022-01-01 22:05:02 +01:00
Lionel Dricot c294e4cace improved README 2021-12-31 00:54:25 +01:00
Lionel Dricot 81e821f994 cache_path depends of the protocol 2021-12-30 16:46:52 +01:00
Lionel Dricot 4569bfeb1e Ploum’s url 2021-12-30 16:23:33 +01:00
Lionel Dricot 4303d451e6 Offpunk README 2021-12-30 16:18:35 +01:00
Lionel Dricot 700cba7184 Introducing Offpunk 2021-12-30 16:03:08 +01:00
Lionel Dricot 3d66f99c95 making magic dependancy optional 2021-12-30 15:43:00 +01:00
Lionel Dricot ed7b182281 better default for browsing (less instead of cat) 2021-12-27 14:05:16 +01:00
Lionel Dricot f4aec13ba6 access time added in title when offline 2021-12-24 14:52:55 +01:00
Lionel Dricot 5189cfac29 adding a title to each page, inspired by Lagrange 2021-12-23 21:47:44 +01:00
Lionel Dricot 16cde598c4 new feature: go automatically fetch content from clipboard if xsel is installed 2021-12-22 13:20:10 +01:00
Lionel Dricot 256c28e916 tour is now completely file based, reducing the risk of losing your tour 2021-12-22 10:21:32 +01:00
Lionel Dricot 0260bf1a04 small fixes 2021-12-20 16:32:54 +01:00
Lionel Dricot e26b10f668 strip URL to avoid blank lines being transformed as / 2021-12-20 15:32:19 +01:00
Lionel Dricot c09fa3fc2b we now cache errors (such as not found) in order to not try to refresh dead links all the time 2021-12-20 13:44:26 +01:00
Lionel Dricot 6c818f553a the refresh/add new to tour logic was broken after refactorisation 2021-12-19 15:51:59 +01:00
Lionel Dricot baa0aca61b sanitizing 2021-12-18 10:16:19 +01:00
Lionel Dricot 053502e214 only read text/gemini file and give all the rest to the mime handler 2021-12-17 23:29:47 +01:00
Lionel Dricot e23f80ab28 forgot to increment a counter 2021-12-17 18:09:55 +01:00
Lionel Dricot 586bffd30c gemlog link not working on tildegit 2 2021-12-17 16:11:29 +01:00
Lionel Dricot c7727bcb4a gemlog link not working on tildegit 2021-12-17 16:10:52 +01:00
Lionel Dricot 6bbcf3e0fe gemlog link in README 2021-12-17 16:07:34 +01:00
Lionel Dricot fa014ead75 fixing small bug with some bad formatted links 2021-12-17 15:50:20 +01:00
Lionel Dricot ba429946ec add / at the end of url if cache is a dir 2021-12-17 15:15:09 +01:00
Lionel Dricot 2e6bd28563 updating README 2021-12-17 14:11:46 +01:00
Lionel Dricot 8651a14e34 no blank line in tour file 2021-12-17 13:59:34 +01:00
Lionel Dricot 843ce388c8 solve a bug when white lines appended it tour file 2021-12-17 12:35:46 +01:00
Lionel Dricot 45a0da6d42 refactorization of fetch_catch, adding logic to add to tour smartly and to randomly reload some old stuff 2021-12-17 12:08:27 +01:00
Lionel Dricot 77ce33173e sugar: http and gemini link are understood without the go command 2021-12-16 16:09:54 +01:00
Lionel Dricot 8ede39dd4d adding --cache-validity option 2021-12-16 15:58:05 +01:00
Lionel Dricot 9d5a1a9e4c don’t refresh more than every 1h 2021-12-16 13:10:55 +01:00
Lionel Dricot de840bdf9f Solve accessing url without trailing / and add online command 2021-12-16 10:43:25 +01:00
Lionel Dricot ce38b49ba6 by default, mimetype is text/gemini 2021-12-15 11:49:40 +01:00