summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fern.go: fix indentation in docv0.2.1siddharth2021-12-011-1/+1
|
* README.md: rewrite itv0.2.0siddharth2021-12-011-14/+2
|
* fern.go: add docsiddharth2021-12-011-1/+37
|
* state: update ProcessState.DBsiddharth2021-11-291-1/+2
| | | | Add documentation.
* fern: update initsiddharth2021-11-291-0/+2
| | | | Add comments.
* state: update ProcessStatesiddharth2021-11-292-7/+6
| | | | | Remove FeedsProcessing. Use a local variable to track the feeds that are being processed instead in the `main` function.
* state: update ProcessStatesiddharth2021-11-292-4/+0
| | | | Remove unused fields -- YDLPath and DumpDir.
* feed: update ydlv0.1.0siddharth2021-11-291-12/+3
| | | | | | Instead of 'cd'ing into the dumpdir, use the '-o' flag in youtube-dl to specify the directory under which the enttry needs to be downloaded to.
* feed: update Feed.processEntrysiddharth2021-11-291-0/+2
| | | | Barf to stdout when about to download an entry.
* feed: update Feed.Processsiddharth2021-11-291-0/+6
| | | | Display number of entries yet to be processed.
* fern: update mainsiddharth2021-11-291-0/+6
| | | | Display number of feeds yet to be processed.
* Makefile: update fmtsiddharth2021-11-291-1/+2
|
* README.md: building -> installingsiddharth2021-11-281-4/+12
|
* README.md: update descriptionsiddharth2021-11-281-1/+3
|
* feed: flesh out feed.processEntrysiddharth2021-11-281-2/+32
|
* feed: update Processsiddharth2021-11-281-3/+4
| | | | | Make a copy of `entry` into `e` in the loop that processes all Entries. Then use `e` instead of `entry`.
* feed: fix Validatesiddharth2021-11-282-11/+6
| | | | | Don't set YDLPath and DumpDir on Feed in `Validate` function. Set it in the FeedConfig's `validate` function instead.
* fern: flush out mainsiddharth2021-11-281-1/+55
|
* feed: add Feed.Processsiddharth2021-11-281-0/+80
| | | | | | Main function that gets, parses, and downloads entries in the feed. The Feed.processEntry function is a stub for now.
* state: add ProcessState.DBsiddharth2021-11-281-0/+3
|
* state: add EntryResult.EntryTitlesiddharth2021-11-281-2/+3
|
* state: add Feed.FeedResultsiddharth2021-11-281-2/+3
|
* db: update FernDB.Writesiddharth2021-11-281-1/+1
| | | | Always truncate file before writing.
* feed: update Feed.Lastsiddharth2021-11-281-1/+1
| | | | Change type to `int`.
* feed: add Feed.Lastsiddharth2021-11-281-0/+6
|
* add `state` packagesiddharth2021-11-281-0/+33
|
* remove config/process packagesiddharth2021-11-281-9/+0
|
* feed: Feed.Object -> Feed.Entriessiddharth2021-11-281-17/+23
| | | | | Also refactor nprUnmarshal and youtubeUnmarshal to return []schema.Entry.
* schema: add Entrysiddharth2021-11-281-0/+7
|
* schema: update YouTubeEntrysiddharth2021-11-281-0/+1
| | | | Add 'Title'.
* schema: update NPREntrysiddharth2021-11-281-0/+1
| | | | Add 'Title'.
* feed: update feedsiddharth2021-11-282-3/+11
| | | | Add YDLPath to Feed. Set it during Validate().
* db: add FernDB.Writesiddharth2021-11-282-0/+147
| | | | Writes database to disk.
* db: add FernDB.Addsiddharth2021-11-282-0/+80
|
* db: add FernDB.Existssiddharth2021-11-282-0/+57
|
* db: update TestOpenExistingDBsiddharth2021-11-281-1/+3
| | | | Refactor dbFile closing.
* db: update FernDBsiddharth2021-11-282-0/+20
| | | | Add `mutex` field to the FernDB struct.
* add db packagesiddharth2021-11-283-0/+193
|
* config: add process packagesiddharth2021-11-271-0/+9
|
* README.md: update descriptionsiddharth2021-11-271-1/+1
|
* Makefile: add license headersiddharth2021-11-271-0/+3
|
* Makefile: update `fmt`siddharth2021-11-271-1/+1
| | | | Add config, file, and scheme packages
* README.md: WIPsiddharth2021-11-271-5/+1
|
* feed: add unmarshalsiddharth2021-11-271-0/+22
| | | | Unmarshals the feed and sets Feed.Object
* feed: add youtubeUnmarshalsiddharth2021-11-271-0/+17
| | | | Unmarshler for a YouTube Feed.
* feed: add nprUnmarshalsiddharth2021-11-271-0/+23
| | | | Unmarshler for a NPR Feed.
* feed: add `get`siddharth2021-11-271-0/+28
| | | | HTTP GETs raw feed from Feed.Source
* feed: update Feedsiddharth2021-11-271-0/+1
| | | | Add `Object` field.
* add schema packagesiddharth2021-11-271-0/+47
|
* add feed packagesiddharth2021-11-272-35/+60
| | | | Move feed type and function to its own package.