Skip to content

orxaicom/Sefaria-Container-Unofficial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sefaria Container Unofficial

Running Sefaria inside Codespaces

This repository builds and publishes a docker container. The container is an installation of requirements of running Sefaria-Project as described on their website.

Use cases

  • You can go to our fork of Sefaria-Project which contains a .devcontainer folder that tells GitHub Codespaces how to run it inside this container, as you can see in the video above. This way you can experiment and develope Sefaria on your browser without going through the lengthy installation process and cluttering your system.

  • Alternatively you can install Docker on your computer and Dev Containers extension on vscode. After opening our fork of Sefaria-Project in the vscode, a pop up gives you an option to pull this container and run the repo inside it locally in isolation which again, keeps your system clean.

  • We also use this container as a base to build a desktop app for Sefaria.

NOTICE

  • If you have problems with Codespaces in your browser, disable adblocks, and on FireFox Disable Tracking Protection (Shield logo near the URL).
  • The image is big (~3.5 Gigs) because it contains the database and the packages. The installation takes 5 or 10 minutes on Codespaces. We're working on making the image smaller and faster, see TODO bellow.
  • This repo publishes the image to ghcr (GitHub Container Registry), link on the right hand side of this page.
  • The main script that builds the images is install_dependencies.sh
  • All suggestions are welcomed, open an issue.
  • This is still an ongoing experimental and unofficial project.

TODO

  • See whether we can delete these: /data/db/journal /data/db/diagnostic.data
  • Examine ways to make the image smaller (Use alpine instead of debian, Multi-stage builds) and reduce the Dev Containers start-up time
  • Use npm run watch-client and npm run watch in .devcontainer and test whether changing code results in change in the preview, realtime.

About

Builds and publishes a docker container to run Sefaria

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors