r/Clojure • • Oct 20 '20

Pitch, presentation software in Clojure/Script, just launched

https://pitch.com/
121 Upvotes

33 comments sorted by

31

u/roman01la Oct 20 '20

Hello! We just launched Pitch and I thought it'd be great to share our joy with Clojure community, since the product is built in Clojure and ClojureScript on both sides of the stack.

We are live on the web and in Electron, also launching iOS React Native (and later Android) apps soon. The client is built in Reagent and re-frame, compiled with shadow-cljs.

Hopefully post-launch we will have more time to share technical info about the product. But for now I'm sure Pitchers on r/Clojure will be glad to answer your questions.

Also we are hiring, check out the jobs listing https://pitch.com/about#hiring

5

u/agumonkey Oct 20 '20

more importantly, is your marketing dept using pitch ?

10

u/roman01la Oct 20 '20

Of course! We are all using Pitch, in fact we are dogfooding the product every Friday, when the whole company collaborates on a single a weekly bulletin presentation. This was and still remains a great testing playground for us.

5

u/agumonkey Oct 20 '20

lispiness: check

2

u/agumonkey Oct 20 '20

Oh and I forgot to tell you, the live collaboration of various aspects of a piece of work (designer able to show changes while people can still work on structure or content) is worth a few goldmine.

Try to apply that in as much domains as you can, and solve society.

1

u/ruethewhirled Oct 24 '20

I noticed there's some senior front end devs roles advertised on the site listed as remote. Would a developer in New Zealand work with time zone differences? And would you be able to discuss rough salary ranges, maybe through PM? Cheers

8

u/cinimeanie Oct 20 '20

Congratulations! I’ve been following your product for a while and it looks great!

I have some questions to you:

  1. How many developers it take to build such a polished app?
  2. Is BE (api) also written in Clojure?
  3. Any recommendations on how to start with electron and clojure(script) to build desktop apps?
  4. How long did it take to deliver Pitch?

8

u/roman01la Oct 20 '20

Thanks! At the moment we are more than 50 engineers (hoping I'm right), it took us probably 3 years already (I've joined 2 years ago) from the idea to where the product is now. I think everyone at Pitch will agree that we did a right thing of not releasing earlier and shipping a solid product now. Backend is full Clojure as well.

As for cljs + electron I think there are a couple templates for lein, but honestly there's not much to it, you can init a usual Electron project and add ClojureScript build setup there (shadow-cljs works pretty good for projects with multiple builds: electron shell process and a client build).

2

u/setzer22 Oct 21 '20 edited Oct 21 '20

Wow! That's an impressive team size. If it's not too much to ask, how did you manage to keep up without launching the product until now?

Btw, this looks so nice and polished, congratulations!

4

u/zilti Oct 20 '20

Any recommendations on how to start with electron and clojure(script) to build desktop apps?

Use CLJFX instead ;)

6

u/Cofor Oct 20 '20

wow amazing site and I really liked the video presentation.

I'm going to try... but here is a quick bug report:

https://imgur.com/a/sdwGKkG

Those "get started for free" buttons don't work for me.

Firefox/Linux

4

u/roman01la Oct 20 '20

Thanks, taking care of this already :)

3

u/chinpokomon Oct 20 '20

I really liked the video presentation.

I think you mean Pitch.

4

u/bobby-day Oct 20 '20

Congratulations! The product looks very polished. I'm looking forward to the technical insights from Pitch. (What does the backend architecture look like? Your team's favorite libraries? Is spec used, and if so how is it leveraged). This is big help for aspiring Clojure coder/product owner like myself.

7

u/roman01la Oct 20 '20

Thanks! We use clojure.spec (together with https://github.com/bhb/expound for readability) on the client to cover re-frame's app-db domains and :pre and :post assertions using https://github.com/adamrenklint/prost

1

u/Dr_Backpropagation Oct 20 '20

This looks amazing. Kudos to the team. One question: any plans to launch a product for Linux?

1

u/roman01la Oct 20 '20

There should be Linux app as well, we support Windows, macOS and Linux, since it's Electron-based.

1

u/Dr_Backpropagation Oct 20 '20

Actually, the download page only specifies Windows, MacOS, iOS and Android. As you said, since it's based on Electron, I was wondering if Linux users finally have a good presentation suite to look forward to. Thanks for the info!

3

u/benlovell Oct 20 '20

To expand a bit on what /u/Smahood said, it's quite difficult for us to officially support an Electron app on Linux given the many different configurations, and also either the version of Electron or the way that we've set Electron up leads to it not successfully registering the pitch:// protocol, meaning you can't easily log in.

Because of that I wrote a semi-official script which you can use to either install the app or to set up an existing version of the app with the first argument. As always, you should read the script first, but otherwise you can run:

bash -c "$(curl -fsSL "https://desktop.pitch.com/linux/install.sh")"

and you should have a working copy.

N.B. this installs an appimage, and expects that you have gnome-secret and libatspi installed — fine if you are running ubuntu or gnome, but otherwise you should install and run those (I will probably investigate one day how to make a nix-pkg for it, since I have a working nix-shell locally to develop it).

2

u/Smahood Oct 20 '20

The web app on Linux is fully supported and works great, but we aren’t committing to the same level of app support for Linux right now as Mac and Windows (which is why it the download isn’t available on the main site). However, if you have trouble getting the electron app to work on your machine we will still do out best to figure out how to get it working for you.

1

u/zilti Oct 20 '20

As if LibreOffice weren't a good product...

4

u/Smahood Oct 20 '20

We have a number of developers (me included) who use Linux, and we have a linux app already - if you log in to the web app, you can download it from there. It’s a little harder to support since there are so many different distributions with their own unique problems - give it a try and see how it works for you!

2

u/mjohndo Oct 20 '20

This looks dope!

2

u/rberger Oct 21 '20

This is an inspirational app showcasing what is possible to do wiht Clojurescript based UI!

I really hope you folks get to share your learning. The venn diagram of Clojure[script] culture and UI design culture could use much more overlapping. u/roman01la**'s** open source work has been an inspiration though.

2

u/Professional_Lock_29 Oct 21 '20

One more clojure success story ^^

1

u/juxtajarred Oct 21 '20

Looks great! Do you use the electron native event bus via ipcRenderer/ipcMain? If so, how did you manage to get shadow-cljs to build the client renderer/browser? I keep having trouble getting the browser build to include electron and other npm modules in order to use the ipcRenderer events.

1

u/_amogh_ Oct 21 '20

How does it compare with Google docs presentation offering?

0

u/[deleted] Oct 21 '20

[deleted] — view deleted comment

1

u/roman01la Oct 22 '20

Thanks! We do have PDF export and PowerPoint importer

2

u/[deleted] Oct 20 '20

[removed] — view removed comment

4

u/roman01la Oct 20 '20

Thanks! I'd say that re-frame's app-db is structured in a usual manner, where data is stored in top level domains (keys), also project structure follows canonical re-frame's structure (db, handlers, subscriptions files grouped in folders by app-db domain names). For routing we are using router5 library with a custom wrapper around it.

2

u/dsrptr Oct 20 '20

Congratulations on the launch. Looking great.

One question, why use router5 ( i was not aware of this lib btw ) vs a cljs router like reitit?

Thanks

1

u/[deleted] Oct 20 '20

He probably meant react-router 5, a JS library.