An open-source toolkit for automating the upload of research articles into institutional repositories. Read the paper here.
- Basic understanding of UNIX commands.
- Git, Node.js LTS, and a code editor (e.g., VSCode) installed.
- An understanding of how APIs work.
- Clone this repository to your device.
- Add an folder named
output
to theaperta-accessum
folder. - Add a file named
config.env.js
to theaperta-accessum
folder. - Retrieve bepress and Dropbox API keys and add them to
config.env.js
in the following form:
module.exports = {
BEPRESS: "YOUR-BEPRESS-API-KEY",
DROPBOX: "YOUR-DROPBOX-REFRESH-KEY",
};
Note: bepress keys need to be obtained by emailing them; Dropbox keys need to be obtained by creating a Dropbox App.
- Navigate
aperta-accessum/scripts
directory and then runnpm i
. - Deploy the website. Netlify can be used, among many hosting options. Run
npm build
in thewebsite
folder, and then upload the build folder to Netlify.
- Complete setup instructions.
- Create a CSV file of emails to send to professors and JSON file of articles that are already open access by navigating to
aperta-accessum/scripts
directory and runningnode createEmailList.js
. - Use mail merge to send professors emails. Watch this YouTube video or a similar one.
- Monitor your Dropbox for file uploads.
- Create two XML files of data to upload to bepress by navigating to
aperta-accessum/scripts
directory and runningnode createXMLForAlreadyOA.js
and thennode createXMLFromDropbox.js
. - Upload the XML files to bepress through bulk upload.
- Once the files are published on bepress, delete the files from Dropbox.