목록전체 글 (418)
Creative Code

키워드 입력시 selenium으로 유튜브 웹크롤링을해 스크롤을 1번 한 뒤 동영상의 주소와 제목을 가져와 데이터 제공 + 영상이 끝날 시 반복재생 다음엔 video.py 일부 기능 추가 + UI 수정, diary기능 시작 ※pages/video.py 전체 코드 # lunar.state.home 모듈에서 필요한 State 및 HomeState를 가져옵니다. import reflex as rx from lunar.state.base import State from lunar.state.home import HomeState # 컴포넌트를 가져옵니다. from ..components import container color = "rgb(107,99,246)" # 탭 버튼을 생성하는 함수 def tab_butt..

※ 출발지와 목적지를 입력하면 경로제공 및 이동거리,소요시간, 택시비용, 톨게이트비용 정보 제공 ※ 사용자들의 검색어를 바탕으로 최근 24시간동안 인기 핫플레이스 위치 정보 제공 pages/map.py 코드 # lunar.state.home 모듈에서 필요한 State 및 HomeState를 가져옵니다. import reflex as rx from lunar.state.base import State from lunar.state.home import HomeState # 컴포넌트를 가져옵니다. from ..components import container color = "rgb(107,99,246)" # 탭 버튼을 생성하는 함수 def tab_button(imagepath, href): """A tab ..

--> 로그인화면의 배경화면을 gif 파일로 수정 ※pages/login.py 코드 """Login page. Uses auth_layout to render UI shared with the sign up page.""" import reflex as rx from lunar.state.auth import AuthState def login(): return rx.container( rx.container(height='150px'), rx.hstack( # rx.vstack( # rx.container(height='30px'), # rx.image( # src = '/space2.jpg', # ), # width = '500px', # height= '100%', # ), # rx.containe..

다른 일이 생겨 3일만에 작업했지만 ,, 별로 못했다.. 내일부터 myprofile, map기능 추가 도전!

감기로 인해 3일만에 작업.. 아래 메뉴에 보이는 추가 예정 기능들(홈화면, my profile, map, chat, Ai chat, diary, video, game, setting) --> 더 추가할 수도 있음.. 왼쪽 Recommended friends에는 추후에 머신러닝을 이용해 사용자가 알 수도 있는 친구를 추천해주는 알고리즘을 만들어 적용시킬예정 Aurora프로젝트와 비슷하지만 게시글 업로드 시 각종 공감기능, 댓글기능 추가할 예정! 오늘 작업 코드 : ※pages/home.py (프론트엔드부분) # lunar.state.home 모듈에서 필요한 State 및 HomeState를 가져옵니다. import reflex as rx from lunar.state.base import State fr..

--> 아이디와 비밀번호를 입력하면 sqlite 데이터 베이스에 저장되어있는 유저 데이터와 비교해 일치할 시 로그인 가능 ※로그인 화면 코드(pages/login.py) """Login page. Uses auth_layout to render UI shared with the sign up page.""" import reflex as rx from lunar.state.auth import AuthState def login(): return rx.container( rx.container(height='150px'), rx.hstack( rx.vstack( rx.container(height='30px'), rx.image( src = '/space2.jpg', ), width = '500px', ..