Skip to content

joakin/webkipedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webkipedia

Project unmaintained

An experiment to make a native web application for wikipedia.

Visit chimeces.com/webkipedia for a demo.

Warning

Old JS version (which corresponds to the demo) is on branch hackathon-js-version. The experiment is being rewritten using Clojurescript.

Development

Dev requirements:

  • Java 8
  • Leiningen
lein figwheel devcards dev # Start the compilation, REPL, and live updates
# In another terminal
lein less auto # Start compilation of CSS

Then visit localhost:3449 for the live reloading version. Any changes to CLJS or LESS will be incrementally added to the browser.

You can also visit localhost:3449/cards.html to view the development cards.

Deployment

npm run build # Start compilation of CSS and the advanced compilation of CLJS.

Assets are in resources/public

Coding

  • App is built with Clojurescript, Reagent and Less css.
  • Components
    • UI components can be found at src/webkipedia/ui/.
    • LESS styles can be found in src/webkipedia/ui/less/.
    • State of the app is in src/webkipedia/state.cljs.
    • Try to make components reusable and simple whenever possible.
  • Styles
    • Use the SUIT CSS naming conventions
    • Styles are placed mirroring name of file and folder structure of the component they belong to.
    • Use the mixins and variables in `src/webkipedia/ui/less/{mixins,variables}.less for responsive behavior (mobile first) and color/spacing variables.
    • Do not use nested Less. Be 100% concrete on the selectors. Have a look at the existing LESS to get the idea.

About

An experiment to create a native web app for wikipedia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published