Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit link to a self-hosted learnawesome instance... #6

Open
abhas opened this issue Jan 20, 2021 · 3 comments
Open

Submit link to a self-hosted learnawesome instance... #6

abhas opened this issue Jan 20, 2021 · 3 comments

Comments

@abhas
Copy link

abhas commented Jan 20, 2021

Is it possible to configure the firefox web-extension to submit links to a self-hosted learn-awesome instance? Would this require a change in the source code or would this be possible to configure via the browser's interface itself?

Thanks a lot for this wonderful tool!

@nileshtrivedi
Copy link
Contributor

nileshtrivedi commented Jan 21, 2021

Are you running a self-hosted learnawesome instance? This is the first time I'm seeing someone asking for it. :-)

I'll have to do some work for making learnawesome self-hosting ready. We use Auth0 for login/signup, which is typically tied to a specific domain. The domain is also hard-coded in a bunch of places - including the webextension, mobile app and the crawlers which keep importing expert reviews about learning resources in the repository.

But I definitely intend to support it. In fact, that was part of the idea why I implemented support for the ActivityPub protocol. However, as there are other important issues I'm working on (design revamp, import more expert reviews, release mobile app etc), I can't commit any timeline for self-hosting. If you'd like to join the effort to make that possible, I'll be happy to help.

I have created an issue and noted some items that need to be done for self-hosting: learn-awesome/learn#236 (comment)

@abhas
Copy link
Author

abhas commented Jan 21, 2021

Are you running a self-hosted learnawesome instance? This is the first time I'm seeing someone asking for it. :-)

No - not yet. But I feel learn-awesome is a great tool for two purposes:

  1. Publishing a list of curated learning resources a wide variety of subjects
  2. Storing bookmarks related to projects under research

I would want to self host it (and make it public) so that I can use it to provide a learning roadmap to students and children and developers and colleagues I work with.

I'll have to do some work for making learnawesome self-hosting ready. We use Auth0 for login/signup, which is typically tied to a specific domain. The domain is also hard-coded in a bunch of places - including the webextension, mobile app and the crawlers which keep importing expert reviews about learning resources in the repository.

I saw the Auth0 bit after I started examining the firefox plugin. But since you use devise for authentication, wouldn't it be trivial to switch to a local (ie. database) authentication method (or even LDAP)?

But I definitely intend to support it. In fact, that was part of the idea why I implemented support for the ActivityPub protocol. However, as there are other important issues I'm working on (design revamp, import more expert reviews, release mobile app etc), I can't commit any timeline for self-hosting. If you'd like to join the effort to make that possible, I'll be happy to help.

I am familiar with rails and device. So if a few quick device hacks will enable a self-hosted instance to remove the Auth0 dependency, I am willing to try that out so I can bootstrap a personal instance. And then we can work on making this integration more elegant.

@nileshtrivedi
Copy link
Contributor

If you DM me on Slack, I will share Auth0's development env creds enabling you to play with it in local env. And yes, it should be easy to enable another omniauth provider instead of auth0. But we do use Auth0's management APIs to post on users' social networks.

I have created this issue where we can create sub-tasks like these: learn-awesome/learn#236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants