Merge pull request #22 from squatconf/feat/md

Add basic markdown rendering
pull/24/head
gorhgorh 9 years ago
commit a509ecf436

1
.gitignore vendored

@ -20,3 +20,4 @@ html/assets/js/email*
config.js
mails.txt
public/index.html

@ -1,3 +1,13 @@
# SquatConf website.
# SquatConf website.
```npm install && npm start```
```bash
$ npm install
$ npm run watch # Triggers auto rebuilds of files in src/
```
And in another terminal start the server
```bash
$ npm start
```

@ -1,32 +0,0 @@
# Berlin, 29-30 april 2016
Intentions behind first squatconf was to organise a tech conference in a squat, for a bunch of ideological and practical ideas, why would we want to pay expensive venue when we can organise this in a squat, that would make a good event for the squat and help the place running, this is almost what hapend, but it did not ended as a more than a 'tech' conference ...
(@Olizilla)[https://twitter.com/olizilla] wrote something that sum up what happened pretty well here
We still don't really know what will be this second edition , but this is one of the interesting point in the concept, all proposed talk will be here and you will see what kind of ppl will want to come and what they will propose. It is then up to you to participate or not, attend or not.
SquatConf won't be your everyday conference, but you'll have good talks from amazing people and cool workshops, on donation, open to everybody with no restrictions
We will provide a space, we will provide a context, some talks, and the rest will be up to you…
## How is this possible?
Conference costs are huge, and ticket prices are often nowhere near the true per-attendee cost, even for a non-profit conference.
Fancy venues, transportation, hotels and food are really nice perks to have, but…
If you hold a conference in a squat… the speakers advance their travel expenses…
you can have a almost zero cost conference made with love, a little rougher around the edges and it allow you to remove sponsors from the equation.
Where and when?
Now
Berlin, 29-30 april 2016
past
14/11/15 : Le hangard56
Tickets will be donation-based, venue will be disclosed later, for more infos subscribe to the mailing list
I want to speak / do a workshop / danse
everybody here is welcome, we won't promise that every proposal will be accepted, but they will all be displayed here and in a git repository,
and the curration process will happend.

@ -19,6 +19,13 @@
},
"homepage": "https://github.com/squatconf/website",
"dependencies": {
"ecstatic": "^1.4.0"
"ecstatic": "^1.4.0",
"handlebars": "^4.0.5",
"nodemon": "^1.9.1",
"remarkable": "^1.6.2"
},
"scripts": {
"build": "node ./scripts/build.js",
"watch": "nodemon -w src -e md,hbs -x npm run build"
}
}

@ -0,0 +1,36 @@
'use strict'
var Handlebars = require('handlebars')
var Remarkable = require('remarkable')
var fs = require('fs')
var md = new Remarkable('full', {
html: true,
linkify: true,
typographer: true
})
Handlebars.registerHelper('md', function (src) {
var content = fs.readFileSync(src).toString()
return new Handlebars.SafeString(
md.render(content)
)
})
function compileTemplate(cb) {
fs.readFile('./src/index.hbs', function (err, content) {
if (err) return cb(err)
cb(null, Handlebars.compile(content.toString()))
})
}
compileTemplate(function (err, template) {
if (err) throw err
fs.writeFile('./public/index.html', template(), function (err) {
if (err) throw err
console.log('Wrote public/index.html')
})
})

@ -0,0 +1,11 @@
# Berlin, 29-30 april 2016
Intentions behind first squatconf was to organise a tech conference in a squat, for a bunch of ideological and practical ideas, why would we want to pay expensive venue when we can organise this in a squat, that would make a good event for the squat and help the place running, this is almost what hapend, but it did not ended as a more than a 'tech' conference ...
[@Olizilla](https://twitter.com/olizilla) wrote something that sum up what happened pretty well here
We still don't really know what will be this second edition , but this is one of the interesting point in the concept, all proposed talk will be here and you will see what kind of ppl will want to come and what they will propose. It is then up to you to participate or not, attend or not.
SquatConf won't be your everyday conference, but you'll have good talks from amazing people and cool workshops, on donation, open to everybody with no restrictions
We will provide a space, we will provide a context, some talks, and the rest will be up to you…

@ -94,92 +94,10 @@
<br></pre>
</div>
<div class="page-header">
<h1>Squatconf will never stop !</h1><br>
<p>
thanks to all of you for attenting/helping/participate.
<br>
We had a blast making this, and will make more soon !</p>
<p>
subscribe to the mailing list if you want more infos or help making the next events.
</p>
<p>
I'm terrible at writting, but <a href="https://twitter.com/olizilla">@Olizilla</a> wrote something that sum up what happened pretty well <a href="http://blog.tableflip.io/squatconf-information-wants-to-be-free/">here</a>
</p>
{{md "src/header.md"}}
</div>
<div>
<h2 id="what-is-squatconf-">Why / What is SquatConf?</h2>
<p>
Squatconfs are tech conference that happen... in squats, hence the name. <br>
It is not a conference about squatting or squatters, but will also talk about technologies that can be used in squats. <br>
On top of that, the name sounded nice, isn't it ?
</p>
<p>
It started because some of us are lucky enough to attend marvelous conventions, made with love by amazing people. Great events with top-notch speakers, incredible venues, and amazing parties.
</p>
<p>
These conferences are run with huge contributions from volunteers, and financial support from sponsors, providing top-notch events at affordable prices.
</p>
<p>
But even then, they're not affordable for everyone.
</p>
<p>
We're building an alternative model: SquatConf.
</p>
<p>
SquatConf won't be your everyday conference, but we'll have good talks from amazing people. It'll be donation-based, and you'll get to contribute if you want to.
</p>
<h2 id="how-is-this-possible-">How is this possible?</h2>
<p>
Conference costs are huge, and ticket prices are often <a href="http://2014.lxjs.org/about/">nowhere near the true per-attendee cost</a>, even for a non-profit conference.
</p>
<p>
Fancy venues, transportation, hotels and food are really nice perks to have, but…
</p>
<p>
If you hold a conference in a squat…
the speakers advance their travel expenses…
tell people to bring some food…
and the wifi will be dodgy for sure…
</p>
<p>You'll have a zero-cost conference made with love, but a little rougher around the edges.</p>
<h2 id="where-and-when-">Where and when?</h2>
<div>
past
<ul>
<li>14/11/15 : Le hangard56</li>
</ul>
</div>
<br>
<div>
future
<ul>
<li>???</li>
</ul>
</div>
<h2 id="the-plan">The Plan</h2>
<p>We are a bunch of crazy programmers that believe in anarchy and decentralised systems, conferences included.</p>
<p>We will provide a space, we will provide a context, some talks, and the rest will be up to you…</p>
<h2 id="who-is-behind-this-">Who is behind this?</h2>
<p>You, amongst other crazy ppl</p>
<h2 id="okay-so-you-re-a-bunch-of-idealists-running-a-10-people-conference-in-a-dump-">Okay, so you're a bunch of idealists, running a 10-people conference in a dump.</h2>
<p>What you'll get out of SquatConf is in the end exactly what you put into SquatConf.</p>
<ul>
<li>Tickets will be donation-based. You want a cheap conference? Give us nothing. You want food? Contribute.</li>
<li>This won't be a 400-people event, but do you <em>need</em> that many people?</li>
<li>We already have speakers lined up you're probably prepared to pay for :)</li>
<li>You have ideas for improvements? Suggestions are always welcome.</li>
<li>We plan to make SquatConf zero-sum. We'll split any profits with attendees — ROI on a conference!</li>
</ul>
<!-- <h2 id="i-want-to-give-a-talk-">I want to give a talk!</h2>
<p>Please see <a href="https://github.com/squatconf/talks">our talks repository</a> to propose a talk.</p> -->
{{md "src/index.md"}}
</div>
</div>
</div>

@ -0,0 +1,20 @@
## How is this possible?
Conference costs are huge, and ticket prices are often nowhere near the true per-attendee cost, even for a non-profit conference.
Fancy venues, transportation, hotels and food are really nice perks to have, but…
If you hold a conference in a squat… the speakers advance their travel expenses…
you can have a almost zero cost conference made with love, a little rougher around the edges and it allow you to remove sponsors from the equation.
Where and when?
Now
Berlin, 29-30 april 2016
past
14/11/15 : Le hangard56
Tickets will be donation-based, venue will be disclosed later, for more infos subscribe to the mailing list
I want to speak / do a workshop / danse
everybody here is welcome, we won't promise that every proposal will be accepted, but they will all be displayed here and in a git repository,
and the curration process will happend.
Loading…
Cancel
Save