diff --git a/README.md b/README.md index 8c4c534..b12619a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ -# SquatConf website. +# SquatConf website. -```npm install && npm start``` + +```bash +$ npm install +$ npm run build +$ npm start +``` diff --git a/md/index.md b/md/index.md deleted file mode 100644 index 8ac92a2..0000000 --- a/md/index.md +++ /dev/null @@ -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. diff --git a/package.json b/package.json index bc2e035..d2f2376 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,11 @@ }, "homepage": "https://github.com/squatconf/website", "dependencies": { - "ecstatic": "^1.4.0" + "ecstatic": "^1.4.0", + "handlebars": "^4.0.5", + "remarkable": "^1.6.2" + }, + "scripts": { + "build": "node ./scripts/build.js" } } diff --git a/public/index.html b/public/index.html index b177f35..c24695d 100644 --- a/public/index.html +++ b/public/index.html @@ -94,91 +94,29 @@
-

Why / What is SquatConf?

-

- Squatconfs are tech conference that happen... in squats, hence the name.
- It is not a conference about squatting or squatters, but will also talk about technologies that can be used in squats.
- On top of that, the name sounded nice, isn't it ? -

-

- 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. -

-

- These conferences are run with huge contributions from volunteers, and financial support from sponsors, providing top-notch events at affordable prices. -

-

- But even then, they're not affordable for everyone. -

-

- We're building an alternative model: SquatConf. -

-

- 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. -

- -

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… - tell people to bring some food… - and the wifi will be dodgy for sure… -

-

You'll have a zero-cost conference made with love, but a little rougher around the edges.

-

Where and when?

-
- past - -
-
-
- future - -
- -

The Plan

-

We are a bunch of crazy programmers that believe in anarchy and decentralised systems, conferences included.

-

We will provide a space, we will provide a context, some talks, and the rest will be up to you…

- -

Who is behind this?

-

You, amongst other crazy ppl

- -

Okay, so you're a bunch of idealists, running a 10-people conference in a dump.

-

What you'll get out of SquatConf is in the end exactly what you put into SquatConf.

- - - - - +

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.

diff --git a/scripts/build.js b/scripts/build.js new file mode 100644 index 0000000..80099ee --- /dev/null +++ b/scripts/build.js @@ -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') + }) +}) diff --git a/src/header.md b/src/header.md new file mode 100644 index 0000000..3fa6c8a --- /dev/null +++ b/src/header.md @@ -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… diff --git a/src/index.hbs b/src/index.hbs new file mode 100644 index 0000000..581ddd7 --- /dev/null +++ b/src/index.hbs @@ -0,0 +1,155 @@ + + + + + SquatConf.386 + + + + + + + + + + +
+
+ +
+ + + +
+
+ JOIN US + + + +
 
+ we'll send you info about future events, and talk about all and nothing +
+ +
+
+ +
+ +
+ + +
+ + + +
+ + +
+ {{md "src/index.md"}} +
+
+
+
+ +
+
+
+
+
+
+
+ + + + + + + image/svg+xml + + + + + + + + + + + + + + +
+
logo image by substack
+
+
+
+
+
+ + + + + diff --git a/src/index.md b/src/index.md new file mode 100644 index 0000000..4d0bfc7 --- /dev/null +++ b/src/index.md @@ -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.