Skip to content

Commit

Permalink
some minor fixes/changes (#121)
Browse files Browse the repository at this point in the history
* Qol (#118)

* some ui improvements/qol

* Fix search and gitignore .mp4 files

Co-authored-by: Littletsu <38116582+littletsu@users.noreply.github.com>

* Change to 0, default highest changed

* Add a installdeps nimble task to install github dependencies

* Fix readme

* Update test.yml

* -Y

* Add installation section

* Fix typo

* Add table of contents

* Update README.md

* changes

* Change author of anime-dl

* add block for ui

* author fixed, moved error, some other minor changes

Co-authored-by: Littletsu <38116582+littletsu@users.noreply.github.com>
  • Loading branch information
ShujianDou and littletsu authored Aug 7, 2022
1 parent ce28d4b commit 7156330
Show file tree
Hide file tree
Showing 5 changed files with 250 additions and 155 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

on:
push:
branches: [master, NRewrite]
branches: [master, develop]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
Expand All @@ -16,4 +16,5 @@ jobs:
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: stable # default is 'stable'
- run: nimble build -Y
- run: nimble installdeps
- run: nimble build -d:ssl -Y
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Dot folders
.git/
.github/
.idea/

# anime-dl binary
animeDL

# anime-dl github dependencies
nim-HLSManager/
nim-epub/
ADLCore/


# Downloads from anime-dl
*.epub
*.mp4
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
(In partnership with http://simple-anime.herokuapp.com/)

# anime-dl
The front-end for the anime-dl project from VrienStudio
> <strong>The front-end for the anime-dl project from VrienStudio</strong>
## Table of Contents
- [Porting Progress](#porting-progress)
- [Goal Of This Port](#goal-of-this-port)
- [Installation](#installation)
- [Building](#building)
- [Usage](#usage)
## Porting Progress

| SITE | Search | Download |
Expand All @@ -22,13 +28,26 @@ The main backing library will be made public eventually for usage by others.

An experimental release will be released within the next weeks.

## Installation
Download the latest release from the [releases page](https://github.com/vrienstudios/anime-dl/releases)

## Building
Requirements:
* [nim >= 1.6.6](https://nim-lang.org/install.html)
* nimble (should come preinstalled with nim)
* libzip
* [git](https://git-scm.com/)
* libzip
<strong>(Modification required for Windows Building)</strong>

<br>Clone the repo, and build with SSL support:<br>
<br>1. Clone the repo<br>
```
git clone https://github.com/vrienstudios/anime-dl.git && cd anime-dl
```
<br>2. Install required nim modules:<br>
```
nimble installdeps
```
<br>3. Build with SSL support:<br>
```
nimble build -d:ssl
```
Expand Down
19 changes: 18 additions & 1 deletion animeDL.nimble
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
# Package

version = "0.1.0"
author = "ShujianDou"
author = "VrienStudio"
description = "Downloader/Scraper for anime"
license = "Proprietary"
srcDir = "src"
bin = @["animeDL"]

# Build tasks

# Managing git dependencies this way allows for easier development
# This task could be done in fancier ways, but this will do until we add more modules ;)
task installdeps, "Installs anime-dl dependencies from github":
echo("Cloning dependencies from git...")
exec("git clone https://github.com/ShujianDou/nim-HLSManager")
exec("git clone https://github.com/ShujianDou/nim-epub")
exec("git clone https://github.com/vrienstudios/ADLCore.git")
echo("Installing dependencies...")
# It is important for the dependencies to be installed in this order.
withDir "nim-HLSManager":
exec("nimble install -Y")
withDir "nim-epub":
exec("nimble install -Y")
withDir "ADLCore":
exec("nimble install -Y")

# Dependencies

Expand Down
Loading

0 comments on commit 7156330

Please sign in to comment.