bast / cicero

:microphone: Serving presentation slides written in Markdown.
https://cicero.xyz
GNU Affero General Public License v3.0
55 stars 17 forks source link

Allow creation of stand-alone presentation #75

Open mathiasbockwoldt opened 5 years ago

mathiasbockwoldt commented 5 years ago

I wanted to try cicero but I need to take the presentation with me to another PC. It would be nice if cicero could produce stand-alone presentations, either as HTML files with integrated js and css and maybe even images (can be given as base64-encoded string) or as HTML file plus folder that has to be carried around.

robertodr commented 5 years ago

Hi @mathiasbockwoldt! You could try this one to generate a PDF: https://github.com/sinedied/backslide It's not exactly what you want and I haven't tried it myself, but could work.

bast commented 5 years ago

It is a good suggestion - not completely easy but doable. But I am also thinking that it is becoming more and more difficult to not have network. But it is a valid concern. So far I either had network or my own computer.

mathiasbockwoldt commented 5 years ago

Thank you for the link, @robertodr! Creating a PDF is of course also a possibility, making markdown a kind of lightweight Latex+Beamer. :smiley:

@bast: Having no network is really somehow difficult to find, but I have the situation that I want to present something, having to use a common PC (with Windows...) and the data in the presentation is somewhat sensitive. Its mostly unpublished data, so certain people don't want the data to be published on Github (or Gitlab). I see that this is probably not in the scope of this project, but I thought, I'd ask about it. No problem, if you don't want to go through the trouble implementing this feature! I can use other presentation software.

bast commented 5 years ago

Maybe I should finally fix this: #69 - but this would still require the slides to sit on a publicly accessible URL but it would not have to be GitHub, could be a hard to guess URL. Unless it is really sensitive, then this will not solve it.

bast commented 5 years ago

If solution #69 is viable for you, it is not a lot of work for me to implement it - I was only "lazy".

mathiasbockwoldt commented 5 years ago

Using an arbitrary URL would in general be nice... I would have to find a server that is not behind a firewall... I don't know if this would really help me in the current case, but maybe in the future. So don't work extra hard/fast for my sake. If it's there, I will test it, if not, it's also ok. For now, I will probably have a look at backslide as suggested by @robertodr. Thank you for your fast answers!

bast commented 5 years ago

In the meantime I will think a bit about the download feature - it is not terribly difficult.

arnfinn commented 5 years ago

I think it would be great if cicero had a download feature! Nice to have a local version/snapshot of a presentation given at a given time and place.

mathiasbockwoldt commented 5 years ago

I mean, in principle, it is possible to create the page (either online or locally) and then save it as complete website. \<yourBrowserOfChoice> will save it together with all images and scripts.

bast commented 4 years ago

Today I found https://github.com/astefanutti/decktape and it works brilliantly: https://cicero.readthedocs.io/en/latest/export.html

ashwinvis commented 4 years ago

I think this can be reopened as decktape only permits PDF exports. That too as screenshots and not text. It would be nice to have as HTML slides. pandoc does a good job in adding the CSS+reveal.js into the header when you execute pandoc --self-contained -t revealjs talk.md -o talk.html. This can be used as inspiration. As for remark you can simply insert the markdown into the html and it should work.

bast commented 4 years ago

Thanks for the comment and the idea. Reopening ...