aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update cookies.json creation method in READMEHEADmasterA Farzat2026-03-231-7/+9
| | | | | | | This is because the old method does not include the `HttpOnly` cookies in some cases (possibly a Chrome issue?). Closes GitHub #2.
* Warn against abusing the APIA Farzat2026-03-111-4/+10
|
* Add a basic CONTRIBUTING.mdA Farzat2026-03-101-0/+113
|
* Add license details properlyA Farzat2026-03-107-1/+22
|
* Release v0.1.3v0.1.3A Farzat2026-03-102-2/+2
|
* Update READMEA Farzat2026-03-101-22/+55
|
* Make maximum parallel downloads configurableA Farzat2026-03-102-6/+13
| | | | Still limit it to 8 as more is ineffective and could trigger O'Reilly.
* Add parallel downloadingA Farzat2026-03-101-15/+47
| | | | | This can be helpful when files are small in size, like the components of an EPUB.
* Stream downloads to files directlyA Farzat2026-03-103-11/+52
|
* Add release creation to GitLab CIv0.1.2A Farzat2026-03-101-3/+30
|
* Prevent accidental GitLab CI releases using 'when'A Farzat2026-03-101-0/+2
|
* Remove redundant backslash in GitLab CI commandsA Farzat2026-03-101-4/+4
|
* Add appropriate toolchains and ENV to GitLab CIA Farzat2026-03-091-0/+14
| | | | | Toolchains are needed to link the targets. ENV variables ensure the correct tools are used.
* Add more linux targets to GitLab CIA Farzat2026-03-091-5/+24
|
* Set CARGO_HOME in GitLab CI to inside project dirA Farzat2026-03-091-0/+3
| | | | This lets it know where to find and cache cargo files.
* Add cargo-clippy manually for GitLab CIA Farzat2026-03-091-1/+1
|
* Manually install rustfmt for GitLab CIA Farzat2026-03-091-0/+1
|
* Add basic GitLab CI workflowA Farzat2026-03-091-0/+49
|
* Release v0.1.2A Farzat2026-03-092-2/+2
|
* Upgrade GitHub workflow to action-gh-releaseA Farzat2026-03-091-27/+6
| | | | This is because upload-release-asset was deprecated.
* Create releases using GitHub workflowsv0.1.1A Farzat2026-03-091-5/+54
|
* Release v0.1.1A Farzat2026-03-092-2/+2
|
* Add release build to GitHub workflowA Farzat2026-03-091-0/+32
|
* Add GitHub workflow job for testsA Farzat2026-03-091-0/+23
| | | | | Though we do not have any tests yet, this will make sure they are checked once they are there.
* Fix formattingA Farzat2026-03-091-1/+3
| | | | | For future reference, the User-Agent was obtained from https://hasdata.com/blog/user-agents-for-web-scraping
* Add simple GitHub workflow job checking fmt & lintA Farzat2026-03-091-0/+33
|
* Avoid useless jar clone and update User-AgentA Farzat2026-03-091-2/+2
|
* Use a generic writer in write_container_xmlA Farzat2026-03-091-12/+9
| | | | This should allow for easier testing down the line.
* Remove unused models, fields, and endpointsA Farzat2026-03-082-48/+6
| | | | | | If they are ever needed again, they can be added back. Also set API endpoints fields to Url type instead of String.
* Allow cookies.json in config dirA Farzat2026-03-082-9/+30
| | | | | This allows running the program from anywhere, given the cookies are placed in the config dir.
* Update the TODO listA Farzat2026-03-081-3/+3
|
* Add EPUB descriptions to OPF filesA Farzat2026-03-082-1/+11
|
* Create a function to modify OPF contentsA Farzat2026-03-081-1/+45
| | | | The main purpose for now is to add the description.
* Use XDG directories to map downloadsA Farzat2026-03-084-7/+70
| | | | | | | | This provides standard locations for files regardless of the location of the binary and/or the working directory. Could allow some customization in the future, both as a permanent config or one-time case.
* Add newline between wrapper and chapter contentA Farzat2026-03-081-0/+2
| | | | | This makes it easier to identify diff lines caused by quick_xml from those of the wrapper.
* Allow skipping downloadsA Farzat2026-03-081-4/+6
| | | | This streamlines testing.
* Hide unnecessary output in diff-epubs.shA Farzat2026-03-081-2/+2
|
* Register roadmap progress in READMEA Farzat2026-03-081-8/+4
|
* Stream files to zip in chunksA Farzat2026-03-081-6/+5
| | | | Doing so reduces peak memory.
* Avoid using string buffers when modifying chaptersA Farzat2026-03-072-34/+41
| | | | | This saves on memory. Bytes are read from the file as needed, and written to zip as soon as they are ready.
* Fix attributes of more element types with linksA Farzat2026-03-071-3/+16
|
* Prevent processed_fragment from escapingA Farzat2026-03-071-4/+5
| | | | | | This is done by not including it in the xml! macro in the first place. Instead, it is inserted later by using format!. This is because ogrim does not support injecting raw xml yet (to my knowledge).
* Replace format! macro with xml! where xml is usedA Farzat2026-03-072-32/+38
| | | | | This commit does not produce a working version, as processed_fragment is escaped by xml!. This needs to be resolved.
* Add a util to diff epubsA Farzat2026-03-071-0/+13
| | | | This helps in debugging the effects of code changes.
* Use xml! macro for cleaner xml handlingA Farzat2026-03-073-10/+41
|
* Fix chapter contents to proper xmlA Farzat2026-03-076-10/+176
| | | | | | | Change resource URLs using attribute matching (only img src for now, should add more later). Add respective stylesheets to chapters.
* Add LICENSE fileA Farzat2026-03-062-1/+675
|
* Gather stylesheet file entries for each chapterA Farzat2026-03-062-2/+13
| | | | This prepares them to be added to their xhtml content.
* Add stylesheets to Chapter modelA Farzat2026-03-051-0/+7
| | | | | This allows these stylesheets to be added to the chapter contents later during zipping.
* Deserialize URLs to Url type directlyA Farzat2026-03-054-14/+11
| | | | | This saves the effort of having to do it manually later on. Also avoids duplication in parsing.