typegram - zen blog platform (like medium).
Basic Capabilities
- publications, comments
- favorites, subscriptions
- mentions, tags
- ratings, votes and so on
Playground
You can try the service on a special test site. Please! Use this playground for play with engine!
Localization
The service is available, for example, for Russian-speaking, or English-speaking users. During development, platforms for other languages are opened. On each subdomain, users and publications are separate. Please, help me to translate the welcome post for your language Add my country
Optimization
The first thing that catches your eye is the high speed of page loads and aggressive optimization.
You will not find third-party scripts that monitor user behavior or huge styles / images. The site works with javascript turned off, it remains fast and convenient on any platform.
Subscriptions
On the main page, the author you are subscribed to is displayed, and the number of new publications. The link leads to the first unread message, in chronological order, as in telegram. Typegram does not impose on you whom and when to read.
Mentions
When someone mentions you in comments you will see it on the main page
Editor
The editor supports typing in markdown markup, with rich features and visual formatting. With the ability to make a post fullscreen, preview, autosave and other convenient "tidbits"
Rating system
You may see three sections with strange names on the main page: top mid btm
Yes, I love DotA (my dog's name is Pudge, for example). And I'm sure that ratings are more about game mechanics/motivation than something seriously adequate. On typegram, content is divided into three parts, top, middle and bottom. All new articles go to farm the rating on the midline. Good articles go to the top. Bad articles fall to the bottom. Technically, the ranking system is copied from the ycombinator.
Rating of the article.
+ 5:1 -
Each user has 10 votes per day. You may spend them on both pluses and minuses for one article, or distribute them as you want.
The author sees both the negative and the positive reactions, separately.
Rating of the comments
+ 5
Comments are positive only. I do not know why. Do not ask. I just want to give more opportunities for collecting feedback with different mechanics. And for comments, it is possible to give only one vote per comment. You have 10 votes for comments per day. One comment is one voice.
Tags
Each article may have a global tag. But only one. Be smart, then choose a tag for your article.
Openness
The project is free and open source. I always welcome comments and suggestions on github
Weekly news digest
subscribe on weekly digest here
App
This app uses slowpoke as the database. Package slowpoke implements a low-level key/value store in pure Go. This database engine was developed specially for typegram
.
├── main.go
├── routers
│ ├── routers.go //routers
└── models.go
├── article.go //data models for article
└── user.go //data models for user
You only need golang to run typegram
https://golang.org/doc/install
make sure your ~/.*shrc has the following variables:
➜ echo $GOPATH
/Users/zitwang/test/
➜ echo $GOROOT
/usr/local/go/
➜ echo $PATH
...:/usr/local/go/bin:/Users/zitwang/test//bin:/usr/local/go//bin
Replace zitwang with your own username.
Fresh can help you rebuild and restart Typegram automatically
go get -u github.com/pilu/fresh
You may create a tgram.env file with startup params, sample:
TGRAMPWD=SOM2324&E*&Ff!!EDjweljf
TGRAMPORT=:8081
TGRAMTITLE=typegram
TGRAMNAME=Typegram
TGRAMDESC=zen platform for writers
TGRAMADMIN=recoilme
TGRAMABOUT=/@recoilme/1
TGRAMDOMAIN=tgr.am
➜ go get ./...
➜ go build
➜ ./tgram
- master
You are welcome to!
I try to build the new big thing for blogging) Much more than just a text version of medium. But i started from scratch. The mobile version will be an incredible publishing platform for both writers and readers alike. Subscribe to be the first!