Giter Site home page Giter Site logo

xgrommx / twic2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eugenen/twic2

0.0 3.0 0.0 5.58 MB

Twic2 is an experiment in teaching Haskell and architecture by writing new frontend for Twic1.

JavaScript 1.73% Makefile 0.83% Haskell 97.44%

twic2's Introduction

README

Join the chat at https://gitter.im/twic2/Lobby

Twic2 is an experiment in teaching Haskell and architecture by writing new frontend for Twic1.

Step by step instructions

First time only

  1. Install Stack

    Follow instructions here: https://docs.haskellstack.org/en/stable/install_and_upgrade/

  2. Install node-7.4.0

    hint: you can use nvm (https://github.com/creationix/nvm)

  3. Clone

    $ git clone https://github.com/EugeneN/twic2.git
    $ cd twic2
    
  4. Setup

    $ make setup
    

    note: this takes a long time

  5. Configure

    Follow instructions here: https://github.com/EugeneN/twic/wiki/Quick-start#how-to-configure-and-run-twic

Every time

  1. Build

    $ make frontend
    $ make backend
    
  2. Run

    $ make run
    

    Default browser will open with twic UI. In case you happen to use poorly configured desktop environment open http://localhost:3000 manually.


Next steps

The goal is to write new UI for twic. For this we must discuss the architecture for the frontend (UI) application, implementation details and visual design/UX. More details on original twic design are here: https://github.com/EugeneN/twic/wiki/About

The architecture will not be Elm/React-like one obviously. In general this should be a standalone single page application with support for offline work. The app source should be served by the backend, and once initialized in a browser it should connect to the backend streaming API using websockets.

The app will consist of several independent components - a global feed, individual tweet feed, new tweet, retweet, reply components, search, notifications, private messages.

These business tasks influence implementation details - namely, implementation must provide a way to work with standalone isolated incapsulated composable components. There are few candidate libraries for this task, which provide different levels of abstractions.

Visual design and UX should be similar to that of twic1, with the difference that it should not use right click as the main and only input method.


Notes

twic2's People

Contributors

eugenen avatar gitter-badger avatar xgrommx avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.