Commit Graph

  • 413c63149f Use custom header when writing feed.gmi nytpu 2021-03-22 08:20:06 -06:00
  • 8d9892b0a1 read header.gmi and set header variable to that or to the default nytpu 2021-03-22 08:19:41 -06:00
  • 1eda2eaea8 Rewrite section of README nytpu 2021-03-21 15:57:02 -06:00
  • 692d6993c9 bump version nytpu 2021-03-21 09:21:42 -06:00
  • 3081d41758 don't overwrite title when updating feed nytpu 2021-03-21 09:20:14 -06:00
  • fb7be24b7f Add binary releases to README nytpu 2021-03-21 07:53:31 -06:00
  • 197ec225ff Bump version nytpu 2021-03-21 07:37:55 -06:00
  • 69a7ab13ff Remove usages of io.ReadFile and os.WriteFile to be compatible with 1.15 nytpu 2021-03-21 07:36:04 -06:00
  • a6914cb410 Bump version nytpu 2021-03-20 16:00:57 -06:00
  • 8ca0991895 Lower go-gemini version so it can be built on Go 1.15 nytpu 2021-03-20 16:00:33 -06:00
  • f2cadc4bd1 bump version nytpu 2021-03-20 11:56:00 -06:00
  • 379a8637a4 fix minor issue in edge case where FeedLink doesn't exist nytpu 2021-03-20 11:54:36 -06:00
  • 6766a4bd37 Bump version nytpu 2021-03-20 10:12:23 -06:00
  • c8bdd059c4 fix typo nytpu 2021-03-20 10:12:03 -06:00
  • 05c193a53a reduce repetition and inconsistency when writing subs and feeds.gmi nytpu 2021-03-20 10:10:15 -06:00
  • 6639a4288f Add flags to remove for more fine-grained removals nytpu 2021-03-20 10:10:01 -06:00
  • 71f087b2ad fix breaking bug when parsing atom/rss feeds nytpu 2021-03-20 09:59:55 -06:00
  • d342b6f542 add regenerate command nytpu 2021-03-20 09:55:51 -06:00
  • fece24eed9 Typo in readme nytpu 2021-03-19 19:27:32 -06:00
  • 8a64c73974 Added some cheese to the readme nytpu 2021-03-19 19:26:48 -06:00
  • d9e853a7b6 fix typo in quickstart nytpu 2021-03-19 19:08:33 -06:00
  • eb0a50d9a7 add instance link to README nytpu 2021-03-19 19:06:50 -06:00
  • eb8cd579a0 Bump version to v1.0.0 nytpu 2021-03-19 18:58:45 -06:00
  • 1c99eac0d2 fix readme link nytpu 2021-03-19 18:58:14 -06:00
  • b3a9ee7001 wrote quickstart nytpu 2021-03-19 18:57:24 -06:00
  • 7c45ad1f06 cleanup docs nytpu 2021-03-19 17:52:00 -06:00
  • 5a4d499d81 Move attributions above license notice in README nytpu 2021-03-19 17:17:22 -06:00
  • d4ca695043 add footer to page to be agpl compliant nytpu 2021-03-19 17:16:52 -06:00
  • 2974c5413c remove list command and instead write "subscriptions.gmi" & "feed.gmi" nytpu 2021-03-19 08:29:44 -06:00
  • db626e0c66 fix breaking dereference error in gopher fetch funcs nytpu 2021-03-18 17:02:26 -06:00
  • 562869c8ac write subscriptions.gmi after removing sub nytpu 2021-03-18 17:02:12 -06:00
  • b4d303e24e Write subscriptions nytpu 2021-03-18 16:28:02 -06:00
  • c3f5f7c682 stop using ioutil nytpu 2021-03-18 16:10:37 -06:00
  • f9f6a99094 Cleaned up and clarified documentation nytpu 2021-03-18 15:48:31 -06:00
  • fcfd59a756 add note about flags for refresh command in man page nytpu 2021-03-18 15:17:23 -06:00
  • ee43bf1084 implement atom/rss/json feeds over gopher. nytpu 2021-03-18 15:08:24 -06:00
  • 8dfb63e640 change http error messages to be consistent with others nytpu 2021-03-18 15:03:25 -06:00
  • eb7d8cf21e implement remove command nytpu 2021-03-18 15:02:22 -06:00
  • fbfa123d2d Implement list command using previously implemented core.FullData.Export() nytpu 2021-03-18 15:01:51 -06:00
  • 77982cb60e add Export function to core.FullData nytpu 2021-03-18 15:01:25 -06:00
  • d0a71b360d first write to .new then move after finishing writing to prevent data corruption nytpu 2021-03-18 14:46:05 -06:00
  • 843d1b677a clarify add flags, rename addTypeFlag to addPageFlag nytpu 2021-03-18 14:30:25 -06:00
  • 2487727329 factor out argument checking into function nytpu 2021-03-18 14:30:07 -06:00
  • 1065ed7a18 Start refresh job for refresh command nytpu 2021-03-18 13:48:35 -06:00
  • a80d3f29ff add flag for number of refresh workers nytpu 2021-03-18 13:48:26 -06:00
  • 326edc97c5 add RefreshAll with workers nytpu 2021-03-18 13:43:22 -06:00
  • 364e8fbc21 fix null dereference when getting old title nytpu 2021-03-18 13:34:02 -06:00
  • 6f2f4ac4b1 move saving json down since it's done after almost any function nytpu 2021-03-18 13:33:31 -06:00
  • f8601b82ab Use strings for URLs internally for consistency. nytpu 2021-03-18 13:02:17 -06:00
  • 794b1fc04f cleanup and simplify error handling nytpu 2021-03-18 12:05:16 -06:00
  • f05d1e6c2a why those comments dere? nytpu 2021-03-18 11:47:10 -06:00
  • e9ade7f33f ignore mutexes in json output/input nytpu 2021-03-18 11:41:13 -06:00
  • 7d0600f5f0 improve gemini feed parsing by stripping off more characters from title nytpu 2021-03-18 11:37:32 -06:00
  • df2e3bfa02 fix nil pointer error in GofeedConvert nytpu 2021-03-18 11:37:12 -06:00
  • 6cf5ca01cf Changed url.URL to string so the json is less bloated nytpu 2021-03-18 11:36:57 -06:00
  • 00de991f6b Make sure datapath exists to prevent error nytpu 2021-03-18 11:36:05 -06:00
  • 853993cdd6 add method to write structs to disk nytpu 2021-03-18 11:08:23 -06:00
  • cace315eff start building out different commands in main() nytpu 2021-03-18 11:08:03 -06:00
  • b0cbb4e380 update flags to be more easily usable nytpu 2021-03-18 10:53:51 -06:00
  • c145f8d4d2 initialize core in main() nytpu 2021-03-18 10:37:00 -06:00
  • a3a427b9ee Refactor fetch functions to use new FullData.Insert{Feed,Page} funcs nytpu 2021-03-18 10:33:58 -06:00
  • 0441fc9349 Implement Insert{Feed,Page} on FullData for easy insertions nytpu 2021-03-18 10:33:26 -06:00
  • f3096c41a6 remove this so it doesn't look inconsistent nytpu 2021-03-18 10:32:34 -06:00
  • 3b26eb9863 fix several typos throughout core nytpu 2021-03-18 10:32:10 -06:00
  • 5ba676ed5d refactor fetch functions to insert into FullData nytpu 2021-03-18 10:19:07 -06:00
  • e1a5c68ec7 add init for global FullData nytpu 2021-03-18 10:18:54 -06:00
  • 593c1288bc resolve XXX question introduced by e42ebd8 nytpu 2021-03-17 11:23:44 -06:00
  • 8426bb6494 make jsonData public nytpu 2021-03-17 09:38:41 -06:00
  • e42ebd8171 add XXX to core.JsonData mutex nytpu 2021-03-17 09:37:41 -06:00
  • 5c735b4ce0 improve documentation for PageEntries functions nytpu 2021-03-17 09:15:26 -06:00
  • 521b162007 implement sort.Interface for core.Feed nytpu 2021-03-17 09:15:14 -06:00
  • 9a22dd1b64 fix bug in newHTTPFeed nytpu 2021-03-17 09:03:48 -06:00
  • 6341c67574 add (stubbed) updateGopherFeed function nytpu 2021-03-17 08:59:53 -06:00
  • 795979e3bb add updateGopherPage function nytpu 2021-03-17 08:57:00 -06:00
  • e68ff691b8 add updateHTTPPage function nytpu 2021-03-17 08:53:39 -06:00
  • f9428c3e0e add updateGeminiPage and refactor newGeminiPage to use updateGeminiPage. nytpu 2021-03-17 08:43:19 -06:00
  • 09c1c4caab add general Update* in fetch.go nytpu 2021-03-17 08:42:06 -06:00
  • 1389fc8d6e fix comment and update readme nytpu 2021-03-17 08:41:42 -06:00
  • 07d85c0bfc implement New* routines for fetching and creating new feeds/pages. nytpu 2021-03-16 22:43:18 -06:00
  • f6313f4465 implement core package with structs, etc. nytpu 2021-03-16 22:42:51 -06:00
  • f6dfbad0b5 add man page nytpu 2021-03-16 10:24:44 -06:00
  • 91e663c0f0 add command parsing nytpu 2021-03-16 10:20:31 -06:00
  • f82e090577 initial commit nytpu 2021-03-16 10:19:42 -06:00