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

Create browsable web page #1

Open
wilzbach opened this issue Jun 24, 2016 · 6 comments
Open

Create browsable web page #1

wilzbach opened this issue Jun 24, 2016 · 6 comments

Comments

@wilzbach
Copy link
Member

Automatically generated Github Pages or another visualization format
for convenient browsing.

Ideas are welcome ;-)

@bytorbrynden
Copy link

bytorbrynden commented Jul 2, 2016

I was planning on throwing something together quickly, however, unless you have another form of hosting, this might be quite difficult.

The reason why this might be difficult, is because GitHub pages requires that you put the page that you want to be "published" under the gh-pages branch.

My plan, was to create a(n) über simple set of pages (one or two, three at the very most), that would use relative paths to "fetch" the images.

Actually, I can throw something together, using the GitHub API and a simple gh-pages branch.

@wilzbach
Copy link
Member Author

wilzbach commented Jul 2, 2016

I was planning on throwing something together quickly, however, unless you have another form of hosting, this might be quite difficult.

A couple of my ideas:

  • Jekyll and Github pages (we probably have to manually list the images in the main yaml)
  • my VPS (hosting is for free, deployment could be done with rsync, but no stability guarantees)
  • AWS S3

Actually, I can throw something together, using the GitHub API and a simple gh-pages branch.

Hey let's not make our lifes too complicated, I just saw that Jekyll supports iteration of static files builtin without the need of any plugins :)

{% for image in site.static_files %}
    {% if image.path contains 'images' %}
        <img src="{{ site.baseurl }}{{ image.path }}" alt="image" />
    {% endif %}
{% endfor %}

http://stackoverflow.com/questions/17677094/jekyll-for-loop-over-all-images-in-a-folder

@wilzbach
Copy link
Member Author

wilzbach commented Jul 2, 2016

btw it's great to hear from other D-man enthusiasts :)

@bytorbrynden
Copy link

I like your ideas. I don't have any experience with Jekyll, but I'd imagine it's probably not very difficult.

Hey let's not make our lifes too complicated [ ... ]

The GitHub API is actually pretty straight-forward.

@wilzbach
Copy link
Member Author

wilzbach commented Jul 3, 2016

I don't have any experience with Jekyll, but I'd imagine it's probably not very difficult.

Yes, I quickly put something together. Feel free to improve upon that (I am not a designer by any means).

@bytorbrynden
Copy link

That's pretty neat, actually. I don't think it needs any improvement.

I'm a terrible designed, so I can't help you there, sorry.

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