Simple repository scrapper & downloader written in Go
View Demo
·
Report Bug
·
Request Feature
As of this date (07/04/2022), this application is no longer allowed to run. However, you could be able to run it locally. The source code is still open-source, until someone asked me to remove it 😂 I'm done with this. Thank you.
In the internet, there are many website that provide research journals and/or theses, such as IPB Repository, LIPI, e-Journal Perpusnas, and Google Scholar. IPB repository is one of the most popular university repositories on the internet. Unfortunately, only people with access can download locked files (students, lecturers, or staff). Therefore, I create this app to help anyone who wants to get free access to it. (my credentials are stored in the server-side).
To run this app, you need Go in your environment. Please go to the following link: https://golang.org/
-
Clone the repository.
git clone https://github.com/naufalist/repository.ipb.ac.id.git
-
Copy .env.example to .env.
cp .env.example .env
-
In .env, you should change the credentials.
LDAP_USERNAME=CHANGE_WITH_YOUR_LDAP_USERNAME LDAP_PASSWORD=CHANGE_WITH_YOUR_LDAP_PASSWORD
-
Run the app
go run main.go
-
Now, this app can be accessed in http://localhost:9000.
-
(Optional). If you want to use a different port, you can change this value in
.env
file.PORT=9000
- Access this site: http://localhost:9000.
- Copy-paste the repository url into the form. Example repository url: https://repository.ipb.ac.id/handle/123456789/39884.
- Click the generate button.
- If success, information from the repository will be displayed below the form.
- To download repository file, you can click each download button.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".